1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/manual/codes/Basic Components - Query - Lazy property fetching.php

7 lines
131 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
<?php
// retrieve all users with only their properties id and name loaded
$users = $conn->query("FROM User(id, name)");
2006-07-24 01:08:06 +04:00
?>