Class DataMapper::Repository
In: lib/dm-core/repository.rb
Parent: Object

Methods

==   _dump   _load   adapter   adapters   context   create   default_name   delete   eql?   identity_map   new   read_many   read_one   scope   to_s   update  

Included Modules

Assertions Migration Transaction

Classes and Modules

Module DataMapper::Repository::Migration
Module DataMapper::Repository::Transaction

Attributes

name  [R] 

Public Class methods

@return <Adapter> the adapters registered for this repository

Public Instance methods

==(other)

Alias for eql?

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

TODO: spec this

[Validate]