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

8 lines
158 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.like(?,?)');
$users = $q->execute(array('%123%', '456%'));
?>