Method: Sequel::Model::Associations::ManyToOneAssociationReflection#eager_graph_lazy_dataset?
- Defined in:
- lib/sequel/model/associations.rb
#eager_graph_lazy_dataset? ⇒ Boolean
Whether to eagerly graph a lazy dataset, true for many_to_one associations only if the key is nil.
878 879 880 |
# File 'lib/sequel/model/associations.rb', line 878 def eager_graph_lazy_dataset? self[:key].nil? end |