struct FKDef

Defined in:

classes/fkdef.cr:1
classes/fkdef.cr:4

Constructors

Instance Method Summary

Constructor Detail

def self.new(from_table : String, fk_name : String, from_column : String, to_table : String, to_column : String) #

[View source]
def self.new(ar : FKDefTupleDecl) #

[View source]
def self.new(ar : Array(String)) #

[View source]

Instance Method Detail

def clone #

[View source]
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) #

[View source]
def fk_name : String #

def from_column : String #

def from_table : String #

def to_column : String #

def to_table : String #