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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Reads one or many resources from a datastore
- !ruby/struct:SM::Flow::P 
  body: "@example"
- !ruby/struct:SM::Flow::VERB 
  body: "  adapter.read(query)  # =&gt; [ { 'name' =&gt; 'Dan Kubb' } ]\n"
- !ruby/struct:SM::Flow::P 
  body: Adapters provide specific implementation of this method
- !ruby/struct:SM::Flow::P 
  body: "@param [Query] query"
- !ruby/struct:SM::Flow::VERB 
  body: "  the query to match resources in the datastore\n"
- !ruby/struct:SM::Flow::P 
  body: "@return [Enumerable&lt;Hash&gt;]"
- !ruby/struct:SM::Flow::VERB 
  body: "  an array of hashes to become resources\n"
- !ruby/struct:SM::Flow::P 
  body: "@api semipublic"
full_name: DataMapper::Adapters::AbstractAdapter#read
is_singleton: false
name: read
params: (query)
visibility: public
