Class: Exwiw::DumpTarget
- Inherits:
-
Struct
- Object
- Struct
- Exwiw::DumpTarget
- Defined in:
- lib/exwiw.rb
Overview
ids_field optionally overrides which field --ids is matched against on
the target table. When nil the table's primary key is used (the historical
behavior). Currently only honored by the mongodb adapter.
scope_column switches the extraction to scope-column mode: instead of a
single table_name anchor, every table is filtered by a shared column
(scope_column IN ids) and tables lacking it are reached by walking
belongs_to up to the nearest table that has it. When set, table_name is
nil. SQL adapters only.
Instance Attribute Summary collapse
-
#ids ⇒ Object
Returns the value of attribute ids.
-
#ids_field ⇒ Object
Returns the value of attribute ids_field.
-
#scope_column ⇒ Object
Returns the value of attribute scope_column.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
Instance Attribute Details
#ids ⇒ Object
Returns the value of attribute ids
54 55 56 |
# File 'lib/exwiw.rb', line 54 def ids @ids end |
#ids_field ⇒ Object
Returns the value of attribute ids_field
54 55 56 |
# File 'lib/exwiw.rb', line 54 def ids_field @ids_field end |
#scope_column ⇒ Object
Returns the value of attribute scope_column
54 55 56 |
# File 'lib/exwiw.rb', line 54 def scope_column @scope_column end |
#table_name ⇒ Object
Returns the value of attribute table_name
54 55 56 |
# File 'lib/exwiw.rb', line 54 def table_name @table_name end |