struct FKDef
- FKDef
- Struct
- Value
- Object
Defined in:
classes/fkdef.cr:1classes/fkdef.cr:4
Constructors
- .new(from_table : String, fk_name : String, from_column : String, to_table : String, to_column : String)
- .new(ar : FKDefTupleDecl)
- .new(ar : Array(String))
Instance Method Summary
- #clone
- #copy_with(from_table _from_table = @from_table, fk_name _fk_name = @fk_name, from_column _from_column = @from_column, to_table _to_table = @to_table, to_column _to_column = @to_column)
- #fk_name : String
- #from_column : String
- #from_table : String
- #to_column : String
- #to_table : String
Constructor Detail
def self.new(from_table : String, fk_name : String, from_column : String, to_table : String, to_column : String)
#
Instance Method Detail
def copy_with(from_table _from_table = @from_table, fk_name _fk_name = @fk_name, from_column _from_column = @from_column, to_table _to_table = @to_table, to_column _to_column = @to_column)
#