Class: Arel::SelectManager
- Inherits:
-
TreeManager
- Object
- TreeManager
- Arel::SelectManager
- Defined in:
- ext/arel/select_manager.rb
Instance Method Summary collapse
Instance Method Details
#eager_load ⇒ Object
4 5 6 |
# File 'ext/arel/select_manager.rb', line 4 def eager_load @ast.eager_load end |
#eager_load=(eager_load) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'ext/arel/select_manager.rb', line 8 def eager_load=(eager_load) if eager_load.nil? || eager_load.expr.empty? @ast.eager_load = nil else @ast.eager_load = eager_load end self end |