struct

Luna::QueryBuilder::Update

Inherits Struct < Value < Object


UPDATE builder

Constructors

new(table : String, data : Hash(Symbol, DB::Any))
Source
new(table : String, data : NamedTuple)

NamedTuple variant

Source

Instance methods

bound_params
Source
returning(*cols : String)
Source
to_sql
Source
where(cond : String, *vals : DB::Any)
Source
where_hash(filters : Hash(Symbol, DB::Any))
Source
where_hash(filters : NamedTuple)
Source