class Marten::DB::Query::SQL::PredicateNode

Defined in:

marten/db/query/sql/predicate_node.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(children : Array(self), connector : PredicateConnector, negated : Bool, predicates : Array(Predicate::Base)) #

[View source]
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) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

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


[View source]
def add(other : self, conn : SQL::PredicateConnector) #

[View source]

[View source]
def clone #

[View source]

[View source]
def negated : Bool #

[View source]
def predicates : Array(Marten::DB::Query::SQL::Predicate::Base) #

[View source]
def to_sql(connection : Connection::Base) #

[View source]