1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/manual/docs/Working with objects - Component overview - Query - Lazy property fetching.php

8 lines
143 B
PHP
Raw Normal View History

2007-04-14 01:49:11 +04:00
<code type="php">
// retrieve all users with only their properties id and name loaded
$users = $conn->query("FROM User(id, name)");
</code>