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

8 lines
149 B
PHP

<code type="php">
// retrieve all users with only their properties id and name loaded
$users = $conn->query("FROM User(id, name)");
</code>