class

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

Instance methods

==(other : self)

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

Source
add(other : self, conn : SQL::PredicateConnector)
Source
children
Source
clone
Source
connector
Source
contains_annotations?
Source
filter_predicates
Source
filter_predicates?
Source
negated
Source
predicates
Source
raw_predicate
Source
raw_predicate?
Source
replace_table_alias_prefix(old_vs_new_table_aliases : Hash(String, String)) : Nil
Source
to_sql(connection : Connection::Base)
Source

Nested types