Marten::DB::Query::SQL::PredicateNode
Inherits Marten::DB::Query::SQL::Sanitizer / Reference / Object
Constructors
new(raw_predicate : String, params : Array(::DB::Any) | Hash(String, ::DB::Any) = [] of ::DB::Any, children : Array(Marten::DB::Query::SQL::PredicateNode) = [] of self, connector : Marten::DB::Query::SQL::PredicateConnector = SQL::PredicateConnector::AND, negated : Bool = false)
Sourcenew(children : Array(self), connector : PredicateConnector, negated : Bool, predicates : RawPredicate | FilterPredicates)
Sourcenew(children : Array(Marten::DB::Query::SQL::PredicateNode) = [] of self, connector : Marten::DB::Query::SQL::PredicateConnector = SQL::PredicateConnector::AND, negated : Bool = false, *args)
SourceInstance methods
add(other : self, conn : SQL::PredicateConnector)
Sourcechildren
Sourceclone
Sourceconnector
Sourcecontains_annotations?
Sourcefilter_predicates
Sourcefilter_predicates?
Sourcenegated
Sourcepredicates
Sourceraw_predicate
Sourceraw_predicate?
Sourceto_sql(connection : Connection::Base)
Source