Method: Cequel::Metal::Inserter#execute
- Defined in:
- lib/cequel/metal/inserter.rb
#execute(options = {}) ⇒ void
This method returns an undefined value.
Execute the statement as a write operation
22 23 24 25 26 27 28 |
# File 'lib/cequel/metal/inserter.rb', line 22 def execute( = {}) statement = Statement.new consistency = .fetch(:consistency, data_set.query_consistency) write_to_statement(statement, ) data_set.write_with_consistency( statement.cql, statement.bind_vars, consistency) end |