Class: Cassie::FakeQuery

Inherits:
Query show all
Includes:
Testing::Fake::SessionMethods
Defined in:
lib/cassie/testing/fake/query.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cqlObject (readonly) Originally defined in module Statements::Statement

The CQL string portion for the statment

Examples:

statement.cql
#=> "SELECT * FROM table WHERE first=? AND middle=? and last=?"

#paramsObject (readonly) Originally defined in module Statements::Statement

The positional values portion for the statment

Examples:

statement.params
#=> ['evan', 'thomas', 'prothro']

#result_classObject Originally defined in module Statements::Execution::ClassMethods

The class to use for decorating the Cassandra::Result

Instance Method Details

#session(_keyspace = self.keyspace) ⇒ Object Originally defined in module Testing::Fake::SessionMethods