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
48 49 50 |
# File 'lib/exwiw.rb', line 48 def ids @ids end |
#ids_field ⇒ Object
Returns the value of attribute ids_field
48 49 50 |
# File 'lib/exwiw.rb', line 48 def ids_field @ids_field end |
#scope_column ⇒ Object
Returns the value of attribute scope_column
48 49 50 |
# File 'lib/exwiw.rb', line 48 def scope_column @scope_column end |
#table_name ⇒ Object
Returns the value of attribute table_name
48 49 50 |
# File 'lib/exwiw.rb', line 48 def table_name @table_name end |