module DatastaxRails::Cql
The Cql
classes handle all of the generation of CQL. They are constructed in such a way that the statement can be built up over multiple calls before generating the actual CQL.
TODO: Add examples
Public Class Methods
for_class(klass)
click to toggle source
# File lib/datastax_rails/cql.rb, line 9 def for_class(klass) @cql ||= {} @cql[klass] ||= DatastaxRails::Cql::ColumnFamily.new(klass) end