class

Marten::DB::Query::Node

Inherits Reference / Object

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)
Source
new(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)
Source
new(children : Array(self), connector : SQL::PredicateConnector, negated : Bool, expression : Filters | RawPredicate)
Source
new(children : Array(Marten::DB::Query::Node) = [] of self, connector : Marten::DB::Query::SQL::PredicateConnector = SQL::PredicateConnector::AND, negated : Bool = false, **kwargs)
Source

Instance methods

&(other : Node)
Source
==(other : self)

Returns true if this reference is the same as other. Invokes same?.

Source
^(other : Node)
Source
|(other : Node)
Source
children
Source
connector
Source
expression
Source
filters
Source
filters?
Source
negated
Source
raw_predicate
Source
raw_predicate?
Source

Nested types