1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/manual/docs/Configuration - Setting attributes - Fetching strategy.php

7 lines
161 B
PHP
Raw Normal View History

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