Method: Babik::QuerySet::AbstractBase#initialize
- Defined in:
- lib/babik/queryset.rb
#initialize(model_class) ⇒ AbstractBase
Returns a new instance of AbstractBase.
69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/babik/queryset.rb', line 69 def initialize(model_class) @model = model_class @_count = false @_distinct = false @_order = nil @_lock_type = nil @_where = Babik::QuerySet::Where.new(@model) @_aggregation = nil @_limit = nil @_projection = nil @_select_related = nil end |