Method: Parsistence::Query#initialize

Defined in:
lib/Parsistence/Query.rb

#initializeQuery

Returns a new instance of Query.



70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/Parsistence/Query.rb', line 70

def initialize
  @conditions = {}
  @negativeConditions = {}
  @ltConditions = {}
  @gtConditions = {}
  @lteConditions = {}
  @gteConditions = {}
  @inConditions = {}
  @order = {}
  @limit = nil
  @offset = nil
  @includes = []
end