Class | DataMapper::Repository |
In: |
lib/dm-core/repository.rb
|
Parent: | Object |
name | [R] |
retrieve a collection of results of a query
@param <Query> query composition of the query to perform @return <DataMapper::Collection> result set of the query @see DataMapper::Query
retrieve a resource instance by a query
@param <Query> query composition of the query to perform @return <DataMapper::Resource> the first retrieved instance which matches the query @return <NilClass> no object could be found which matches that query @see DataMapper::Query