Method: DataMapper::Model::Scope#query
- Defined in:
- lib/dm-core/model/scope.rb
#query ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns query on top of scope stack
29 30 31 |
# File 'lib/dm-core/model/scope.rb', line 29 def query repository.new_query(self, current_scope).freeze end |