Class: Hecks::Adapters::SQLDatabase
- Inherits:
-
Object
- Object
- Hecks::Adapters::SQLDatabase
- Defined in:
- lib/table.rb,
lib/column.rb,
lib/schema.rb,
lib/join_table.rb,
lib/repository.rb,
lib/commands/read.rb,
lib/schema_factory.rb,
lib/commands/create.rb,
lib/commands/delete.rb,
lib/commands/update.rb,
lib/hecks-adapters-sql-database.rb,
lib/commands/update/update_values.rb,
lib/commands/read/fetch_references.rb,
lib/commands/update/create_new_value.rb,
lib/commands/update/delete_references.rb,
lib/commands/create/add_to_join_tables.rb,
lib/commands/update/link_to_references.rb,
lib/commands/create/find_or_create_references.rb
Defined Under Namespace
Modules: Commands Classes: Column, JoinTable, Repository, Schema, SchemaFactory, Table
Instance Method Summary collapse
- #[](module_name) ⇒ Object
-
#initialize(domain:) ⇒ SQLDatabase
constructor
A new instance of SQLDatabase.
Constructor Details
#initialize(domain:) ⇒ SQLDatabase
Returns a new instance of SQLDatabase.
25 26 27 |
# File 'lib/hecks-adapters-sql-database.rb', line 25 def initialize(domain:) @domain = domain end |
Instance Method Details
#[](module_name) ⇒ Object
29 30 31 |
# File 'lib/hecks-adapters-sql-database.rb', line 29 def [](module_name) Repository.new(module_name: module_name) end |