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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Find a set of records matching an optional set of conditions. Additionally, specify the order that the records are return.
- !ruby/struct:SM::Flow::VERB 
  body: "  Zoo.all                                   # all zoos\n  Zoo.all(:open =&gt; true)                    # all zoos that are open\n  Zoo.all(:opened_on =&gt; start..end)         # all zoos that opened on a date in the date-range\n  Zoo.all(:order =&gt; [ :tiger_count.desc ])  # Ordered by tiger_count\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Hash] query"
- !ruby/struct:SM::Flow::VERB 
  body: "  A hash describing the conditions and order for the query\n"
- !ruby/struct:SM::Flow::P 
  body: "@return [Collection]"
- !ruby/struct:SM::Flow::VERB 
  body: "  A set of records found matching the conditions in <tt>query</tt>\n"
- !ruby/struct:SM::Flow::P 
  body: "@see Collection"
- !ruby/struct:SM::Flow::P 
  body: "@api public"
full_name: DataMapper::Model#all
is_singleton: false
name: all
params: (query = nil)
visibility: public
