Module: Cassie::Statements::Statement::Relations

Extended by:
ActiveSupport::Concern
Included in:
Deleting, Selection, Updating
Defined in:
lib/cassie/statements/statement/relations.rb

Overview

Provides support for a set of CQL relations and building the where clause and argument list for a cql statement

CQL Relation terminology:

"SELECT * FROM table WHERE id = ?", [1]

relation: ‘WHERE’ identifier: ‘id’ operation: ‘=’ term: ‘?’ argument: ‘1’

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#relations_argsObject

a where clause is built up of multiple ‘relations’



91
92
93
# File 'lib/cassie/statements/statement/relations.rb', line 91

def relations_args
  self.class.relations_args
end