1
0
mirror of synced 2025-01-22 00:01:40 +03:00
doctrine2/manual/codes/Basic Components - Session - Querying the database.php

11 lines
226 B
PHP
Raw Normal View History

2006-07-23 21:08:06 +00:00
<?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'");
?>