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

Defined in:

marten/db/query/sql/empty_query.cr

Constructors

Instance Method Summary

Instance methods inherited from class Marten::DB::Query::SQL::Query(Model)

add_query_node(query_node : Node) add_query_node, add_selected_join(relation : String) : Nil add_selected_join, clone clone, connection connection, count count, default_ordering default_ordering, default_ordering=(default_ordering : Bool) default_ordering=, distinct distinct, distinct=(distinct : Bool) distinct=, distinct_columns distinct_columns, execute : Array(Model) execute, exists? : Bool exists?, joins joins, joins? joins?, limit limit, offset offset, order(fields : Array(String | Symbol)) : Nil
order(*fields : String) : Nil
order
, order_clauses order_clauses, ordered? ordered?, pluck(fields : Array(String)) : Array(Array(Field::Any)) pluck, predicate_node predicate_node, quote(*args, **options)
quote(*args, **options, &)
quote
, raw_delete raw_delete, setup_distinct_clause(fields : Array(String) | Nil = nil) : Nil setup_distinct_clause, slice(from, size = nil) slice, sliced? sliced?, to_empty to_empty, update_with(values : Hash(String | Symbol, Field::Any | DB::Model)) update_with, using using, using=(using : Nil | String) using=

Constructor methods inherited from class Marten::DB::Query::SQL::Query(Model)

new(default_ordering : Bool, distinct : Bool, distinct_columns : Array(String), joins : Array(Join), limit : Int64 | Nil, offset : Int64 | Nil, order_clauses : Array(Tuple(String, Bool)), predicate_node : PredicateNode | Nil, using : String | Nil)
new
new

Constructor Detail

def self.new(default_ordering : Bool, distinct : Bool, distinct_columns : Array(String), joins : Array(Join), limit : Int64 | Nil, offset : Int64 | Nil, order_clauses : Array(Tuple(String, Bool)), predicate_node : PredicateNode | Nil, using : String | Nil) #

[View source]
def self.new #

[View source]

Instance Method Detail

def count #

[View source]
def execute : Array(Model) #

[View source]
def exists? : Bool #

[View source]
def raw_delete #

[View source]
def update_with(values : Hash(String | Symbol, Field::Any | DB::Model)) #

[View source]