Method: Cassanova::Model.where

Defined in:
lib/cassanova.rb

.where(conditions = {}) ⇒ Object

Query Methods ###



57
58
59
60
61
# File 'lib/cassanova.rb', line 57

def self.where conditions={}
  query = Cassanova::Query.new(:table_name => self.name.underscore.pluralize)
  query.where(conditions)
  return query
end