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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Initializes a Query instance
- !ruby/struct:SM::Flow::P 
  body: "@example"
- !ruby/struct:SM::Flow::VERB 
  body: " JournalIssue.all(:repository =&gt; :medline, :created_on.gte =&gt; Date.today - 7)\n"
- !ruby/struct:SM::Flow::P 
  body: initialized a query with repository defined with name :medline, model JournalIssue and options { :created_on.gte =&gt; Date.today - 7 }
- !ruby/struct:SM::Flow::P 
  body: "@param [Repository] repository"
- !ruby/struct:SM::Flow::VERB 
  body: "  the Repository to retrieve results from\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Model] model"
- !ruby/struct:SM::Flow::VERB 
  body: "  the Model to retrieve results from\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Hash] options"
- !ruby/struct:SM::Flow::VERB 
  body: "  the conditions and scope\n"
- !ruby/struct:SM::Flow::P 
  body: "@api semipublic"
full_name: DataMapper::Query::new
is_singleton: true
name: new
params: (repository, model, options = {})
visibility: public
