class FetchMode (View source)

Constants

LAZY

Specifies that an association is to be fetched when it is first accessed.

EAGER

Specifies that an association is to be fetched when the owner of the association is fetched.

EXTRA_LAZY

Specifies that an association is to be fetched lazy (on first access) and that commands such as Collection#count, Collection#slice are issued directly against the database if the collection is not yet initialized.