1
0
mirror of synced 2025-01-18 22:41:43 +03:00
doctrine2/manual/codes/Basic Components - Session - Querying the database.php
2006-07-23 21:08:06 +00:00

11 lines
226 B
PHP

<?php
// select all users
$session->query("FROM User");
// select all users where user email is jackdaniels@drinkmore.info
$session->query("FROM User WHERE User.Email.address = 'jackdaniels@drinkmore.info'");
?>