1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/manual/docs/Configuration - Setting attributes - Fetching strategy.php
2007-04-13 21:49:11 +00:00

7 lines
156 B
PHP

<code type="php">
// sets the default collection type (fetching strategy)
$manager->setAttribute(Doctrine::ATTR_FETCHMODE, Doctrine::FETCH_LAZY);
</code>