class Clear::SQL::DeleteQuery

Included Modules

Defined in:

clear/sql/delete_query.cr

Constructors

Instance Method Summary

Instance methods inherited from module Clear::SQL::Query::Change

change! : self change!

Instance methods inherited from module Clear::SQL::Query::Execute

execute(connection_name : String | Nil = nil) execute

Instance methods inherited from module Clear::SQL::Query::Where

clear_wheres clear_wheres, or_where(node : Clear::Expression::Node)
or_where(template : String, *args)
or_where(template : String, **tuple)
or_where(&)
or_where
, where(node : Clear::Expression::Node)
where(&)
where(conditions : NamedTuple | Hash(String, Clear::SQL::Any))
where(template : String)
where(template : String, *args)
where(template : String, **tuple)
where(**tuple)
where

Instance methods inherited from module Clear::SQL::Query::Connection

connection_name : String connection_name, use_connection(connection_name : String) use_connection

Constructor Detail

def self.new(table : String | Symbol | Nil = nil, wheres : Array(Clear::Expression::Node) = [] of Clear::Expression::Node) #

[View source]

Instance Method Detail

def from(table : String | Symbol | Nil) #

[View source]
def table : Symbolic | Nil #

[View source]
def to_sql #

[View source]
def wheres : Array(Clear::Expression::Node) #

Return the list of where clause; each where clause are transformed into Clear::Expression::Node