--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Reloads the Collection from the repository
- !ruby/struct:SM::Flow::P 
  body: If <tt>query</tt> is provided, updates this Collection's query with its conditions
- !ruby/struct:SM::Flow::VERB 
  body: "  cars_from_91 = Cars.all(:year_manufactured =&gt; 1991)\n  cars_from_91.first.year_manufactured = 2001   # note: not saved\n  cars_from_91.reload\n  cars_from_91.first.year                       #=&gt; 1991\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Query, Hash] query (optional)"
- !ruby/struct:SM::Flow::VERB 
  body: "  further restrict results with query\n"
- !ruby/struct:SM::Flow::P 
  body: "@return [self]"
- !ruby/struct:SM::Flow::P 
  body: "@api public"
full_name: DataMapper::Collection#reload
is_singleton: false
name: reload
params: (query = nil)
visibility: public
