Module: DataMapper::Adapters
- Extended by:
- Chainable, Extlib::Assertions
- Defined in:
- lib/dm-core/transaction.rb,
lib/dm-core/adapters.rb,
lib/dm-core/migrations.rb,
lib/dm-core/adapters/yaml_adapter.rb,
lib/dm-core/adapters/mysql_adapter.rb,
lib/dm-core/adapters/oracle_adapter.rb,
lib/dm-core/adapters/sqlite3_adapter.rb,
lib/dm-core/adapters/abstract_adapter.rb,
lib/dm-core/adapters/postgres_adapter.rb,
lib/dm-core/adapters/in_memory_adapter.rb,
lib/dm-core/adapters/data_objects_adapter.rb
Overview
class Transaction
Defined Under Namespace
Classes: AbstractAdapter, DataObjectsAdapter, InMemoryAdapter, MysqlAdapter, OracleAdapter, PostgresAdapter, Sqlite3Adapter, YamlAdapter
Class Method Summary collapse
-
.new(repository_name, options) ⇒ Object
private
Set up an adapter for a storage engine.
Methods included from Chainable
Class Method Details
.new(repository_name, options) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Set up an adapter for a storage engine
11 12 13 14 |
# File 'lib/dm-core/adapters.rb', line 11 def self.new(repository_name, ) = () adapter_class([:adapter]).new(repository_name, ) end |