--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: Module with query scoping functionality.
- !ruby/struct:SM::Flow::P 
  body: Scopes are implemented using simple array based stack that is thread local. Default scope can be set on a per repository basis.
- !ruby/struct:SM::Flow::P 
  body: Scopes are merged as new queries are nested. It is also possible to get exclusive scope access using <tt>with_exclusive_scope</tt>
constants: []

full_name: DataMapper::Model::Scope
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: current_scope
- !ruby/object:RI::MethodSummary 
  name: default_scope
- !ruby/object:RI::MethodSummary 
  name: query
- !ruby/object:RI::MethodSummary 
  name: with_exclusive_scope
- !ruby/object:RI::MethodSummary 
  name: with_scope
name: Scope
superclass: 
