Method: Cequel::Metal::Statement#prepare
- Defined in:
- lib/cequel/metal/statement.rb
#prepare(keyspace) ⇒ Cassandra::Statements::Prepared
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns prepared version of this statement.
35 36 37 |
# File 'lib/cequel/metal/statement.rb', line 35 def prepare(keyspace) @prepared ||= keyspace.client.prepare(cql) end |