Sha256: 208930d7a6c9ce6101127ca472f23bd28312050e67c1d54ddb55b4ae6b032dc2

Contents?: true

Size: 560 Bytes

Versions: 1

Compression:

Stored size: 560 Bytes

Contents

module DataMapper
  module Mongo
    class Property
      # Database references are references from one document (object) to
      # another within a database. A database reference is a standard embedded
      # object: this is a MongoDB convention, not a special type.
      #
      # The DBRef is made available via your model as a String.
      #
      # @see http://www.mongodb.org/display/DOCS/DB+Ref
      #
      # @api public
      class DBRef < DataMapper::Mongo::Property::ObjectId
      end # DBRef
    end # Property
  end # Mongo
end # DataMapper

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dm-mongo-adapter-0.6.0 lib/mongo_adapter/property/db_ref.rb