1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/manual/docs/en/_old-docs/DQL (Doctrine Query Language) - Functions - Like.php
2007-10-17 21:16:49 +00:00

9 lines
169 B
PHP

<code type="php">
$q = new Doctrine_Query();
$q->from('User')->where('User.Phonenumber.phonenumber.like(?,?)');
$users = $q->execute(array('%123%', '456%'));
</code>