class Marten::DB::Query::SQL::PredicateNode
- Marten::DB::Query::SQL::PredicateNode
- Reference
- Object
Defined in:
marten/db/query/sql/predicate_node.crConstructors
- .new(children : Array(self), connector : PredicateConnector, negated : Bool, predicates : Array(Predicate::Base))
- .new(children : Array(Marten::DB::Query::SQL::PredicateNode) = [] of self, connector : Marten::DB::Query::SQL::PredicateConnector = SQL::PredicateConnector::AND, negated : Bool = false, *args)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #add(other : self, conn : SQL::PredicateConnector)
- #children : Array(Marten::DB::Query::SQL::PredicateNode)
- #clone
- #connector : Marten::DB::Query::SQL::PredicateConnector
- #negated : Bool
- #predicates : Array(Marten::DB::Query::SQL::Predicate::Base)
- #to_sql(connection : Connection::Base)
Constructor Detail
def self.new(children : Array(self), connector : PredicateConnector, negated : Bool, predicates : Array(Predicate::Base))
#
def self.new(children : Array(Marten::DB::Query::SQL::PredicateNode) = [] of self, connector : Marten::DB::Query::SQL::PredicateConnector = SQL::PredicateConnector::AND, negated : Bool = false, *args)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.