Mysql
 sql >> Datenbank >  >> RDS >> Mysql

LIKE und % Wildcard in Doctrine's findBy*()

$users = Doctrine::getTable('User')->createQuery('u')
  ->where('column_name3 LIKE ?', '%search_key%')
  ->execute();