Sha256: 063e22894b986351a918e8d99b754b76414d3c385aa8fbbaf4c3d86e5d31f2db
Contents?: true
Size: 318 Bytes
Versions: 4
Compression:
Stored size: 318 Bytes
Contents
module DataMapper::Mongo::Spec module RawConnections # Returns a Mongo::Database instance which can be used for manually # adjusting the database used by repository +repo+. def database(repo = :default) DataMapper.repository(repo).adapter.send(:database) end end extend RawConnections end
Version data entries
4 entries across 4 versions & 1 rubygems