Module: DatabaseViews::Orm::Mongoid::ClassMethods
- Defined in:
- lib/database_views/orm/mongoid.rb
Instance Method Summary collapse
Instance Method Details
#find_templates(path, details) ⇒ Object
25 26 27 |
# File 'lib/database_views/orm/mongoid.rb', line 25 def find_templates(path, details) where(path: path).any_in(details) end |
#resolver ⇒ Object
29 30 31 |
# File 'lib/database_views/orm/mongoid.rb', line 29 def resolver DatabaseViews::DatabaseResolver.using self end |