class Clear::SQL::DeleteQuery
- Clear::SQL::DeleteQuery
- Reference
- Object
Included Modules
- Clear::SQL::Query::Change
- Clear::SQL::Query::Connection
- Clear::SQL::Query::Execute
- Clear::SQL::Query::Where
Defined in:
clear/sql/delete_query.crConstructors
Instance Method Summary
- #from(table : String | Symbol | Nil)
- #table : Symbolic | Nil
- #to_sql
- 
        #wheres : Array(Clear::Expression::Node)
        
          Return the list of where clause; each where clause are transformed into Clear::Expression::Node 
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(str : String, parameters : Tuple | Enumerable(T)) forall Tor_where(str : String, parameters : NamedTuple)
or_where(str : String) or_where, where(str : String, parameters : Tuple | Enumerable(T)) forall T
where(str : String, parameters : NamedTuple)
where(node : Clear::Expression::Node)
where(&)
where(conditions : NamedTuple | Hash(String, Clear::SQL::Any))
where(str : String)
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)
        #
      
      
      Instance Method Detail
        
        def wheres : Array(Clear::Expression::Node)
        #
      
      
        Return the list of where clause; each where clause are transformed into Clear::Expression::Node