Class: Cql::Client::PreparedStatement
- Inherits:
-
Object
- Object
- Cql::Client::PreparedStatement
- Defined in:
- lib/cql/client.rb
Direct Known Subclasses
Instance Attribute Summary collapse
- #metadata ⇒ ResultMetadata readonly
Instance Method Summary collapse
-
#execute(*args) ⇒ Object
Execute the prepared statement with a list of values for the bound parameters.
Instance Attribute Details
#metadata ⇒ ResultMetadata (readonly)
134 135 136 |
# File 'lib/cql/client.rb', line 134 def @metadata end |
Instance Method Details
#execute(*args) ⇒ Object
Execute the prepared statement with a list of values for the bound parameters.
The number of arguments must equal the number of bound parameters. To set the consistency level for the request you pass a consistency level (as a symbol) as the last argument. Needless to say, if you pass the value for one bound parameter too few, and then a consistency level, or if you pass too many values, you will get weird errors.
146 147 |
# File 'lib/cql/client.rb', line 146 def execute(*args) end |