class

Marten::DB::Query::SQL::EmptyQuery(Model)

Inherits Marten::DB::Query::SQL::Query / Reference / Object

Constructors

new(annotations : Hash(String, SQL::Annotation::Base), default_ordering : Bool, distinct : Bool, distinct_columns : Array(String), group_by_pk : Bool, joins : Array(Join), having_predicate_node : PredicateNode | Nil, limit : Int64 | Nil, offset : Int64 | Nil, order_clauses : Array(Tuple(String, Bool)), parent_model_joins : Array(Join) | Nil, using : String | Nil, where_predicate_node : PredicateNode | Nil)
Source

Instance methods

count(field : String | Symbol | Nil = nil)
Source
execute
Source
exists?
Source
raw_delete
Source
update_with(values : Hash(String | Symbol, Field::Any | DB::Model))
Source