Method: Ki::Model::QueryInterface#count
- Defined in:
- lib/ki/modules/query_interface.rb
#count(hash = {}) ⇒ Object
8 9 10 |
# File 'lib/ki/modules/query_interface.rb', line 8 def count(hash = {}) Orm::Db.instance.count class_name, hash end |