1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/manual/codes/DQL (Doctrine Query Language) - Functions - Regexp.php

8 lines
162 B
PHP
Raw Normal View History

2006-09-16 21:52:58 +04:00
<?php
$q = new Doctrine_Query();
$q->from('User')->where('User.Phonenumber.phonenumber.regexp(?,?)');
$users = $q->execute(array('[123]', '^[3-5]'));
?>