1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/manual/docs/DQL (Doctrine Query Language) - Functions - Regexp.php
2007-04-13 21:49:11 +00:00

9 lines
173 B
PHP

<code type="php">
$q = new Doctrine_Query();
$q->from('User')->where('User.Phonenumber.phonenumber.regexp(?,?)');
$users = $q->execute(array('[123]', '^[3-5]'));
</code>