lib/card/query.rb in card-1.99.1 vs lib/card/query.rb in card-1.99.2
- old
+ new
@@ -32,11 +32,13 @@
# - @subqueries - a list of other queries nested within this one
#
# Each condition is either a SQL-ready string (boo) or an Array in this form:
# [ field_string_or_sym, Card::Value::Query object ]
module Query
- require_dependency "card/query/card_query"
-
+ require "card/query/clause"
+ require "card/query/card_query"
+ require "card/query/sql_statement"
+ # Card::Query::CardQuery
# After conversion, ATTRIBUTES is a Hash where the key is the attribute
# and the value is the attribute type:
# { id: :basic, name: :basic, key: :basic ...}
# This is used for rapid attribute type lookups in the interpretation phase.
ATTRIBUTES = {