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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Slices collection by adding limit and offset to the query, so a single query is executed
- !ruby/struct:SM::Flow::P 
  body: "@example"
- !ruby/struct:SM::Flow::VERB 
  body: "  Journal.all(:limit =&gt; 10).slice!(3, 5)\n"
- !ruby/struct:SM::Flow::P 
  body: "will execute query with the following limit (when repository uses DataObjects adapter, and thus queries use SQL):"
- !ruby/struct:SM::Flow::VERB 
  body: "  LIMIT 10\n"
- !ruby/struct:SM::Flow::P 
  body: and then takes a slice of collection in the Ruby space
- !ruby/struct:SM::Flow::P 
  body: "@api semipublic"
full_name: DataMapper::Query#slice!
is_singleton: false
name: slice!
params: (*args)
visibility: public
