Marten::DB::Query::Node
Constructors
new(filters : Hash | NamedTuple, children : Array(Marten::DB::Query::Node) = [] of self, connector : Marten::DB::Query::SQL::PredicateConnector = SQL::PredicateConnector::AND, negated : Bool = false)
Sourcenew(raw_predicate : String, params : Array(::DB::Any) | Hash(String, ::DB::Any) = [] of ::DB::Any, children : Array(Marten::DB::Query::Node) = [] of self, connector : Marten::DB::Query::SQL::PredicateConnector = SQL::PredicateConnector::AND, negated : Bool = false)
Sourcenew(children : Array(self), connector : SQL::PredicateConnector, negated : Bool, expression : Filters | RawPredicate)
Sourcenew(children : Array(Marten::DB::Query::Node) = [] of self, connector : Marten::DB::Query::SQL::PredicateConnector = SQL::PredicateConnector::AND, negated : Bool = false, **kwargs)
SourceInstance methods
&(other : Node)
Source^(other : Node)
Source|(other : Node)
Sourcechildren
Sourceconnector
Sourceexpression
Sourcefilters
Sourcefilters?
Sourcenegated
Sourceraw_predicate
Sourceraw_predicate?
Source