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

8 lines
194 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.contains(?,?,?)');
$users = $q->execute(array('123 123 123', '0400 999 999', '+358 100 100'));
?>