Module: Cassie::Statements::Statement::Inserting::ClassMethods
- Included in:
- Cassie::Statements::Statement::Inserting
- Defined in:
- lib/cassie/statements/statement/inserting.rb
Instance Method Summary collapse
-
#insert_into(table) {|_self| ... } ⇒ void
DSL to set the statement type and table for insertion.
Instance Method Details
#insert_into(table) {|_self| ... } ⇒ void
This method returns an undefined value.
DSL to set the statement type and table for insertion
27 28 29 30 31 32 |
# File 'lib/cassie/statements/statement/inserting.rb', line 27 def insert_into(table) self.table = table self.type = :insert yield(self) if block_given? end |