Class: Rooq::Generator::ForeignKeyInfo
- Inherits:
-
Object
- Object
- Rooq::Generator::ForeignKeyInfo
- Extended by:
- T::Sig
- Defined in:
- lib/rooq/generator/introspector.rb
Instance Attribute Summary collapse
- #column_name ⇒ String readonly
- #foreign_column ⇒ String readonly
- #foreign_table ⇒ String readonly
Instance Method Summary collapse
Constructor Details
#initialize(column_name:, foreign_table:, foreign_column:) ⇒ void
225 226 227 228 229 230 |
# File 'lib/rooq/generator/introspector.rb', line 225 def initialize(column_name:, foreign_table:, foreign_column:) @column_name = column_name @foreign_table = foreign_table @foreign_column = foreign_column freeze end |
Instance Attribute Details
#column_name ⇒ String (readonly)
216 217 218 |
# File 'lib/rooq/generator/introspector.rb', line 216 def column_name @column_name end |
#foreign_column ⇒ String (readonly)
222 223 224 |
# File 'lib/rooq/generator/introspector.rb', line 222 def foreign_column @foreign_column end |
#foreign_table ⇒ String (readonly)
219 220 221 |
# File 'lib/rooq/generator/introspector.rb', line 219 def foreign_table @foreign_table end |