class

Marten::DB::Management::Statement::ForeignKeyName

Inherits Reference / Object

Constructors

new(index_name_proc : Proc(String, Array(String), String, String), table : String, column : String, to_table : String, to_column : String)
Source

Instance methods

column
Source
references_column?(table : String, column : String | Nil)
Source
references_table?(name : String | Nil)
Source
rename_column(table : String, old_name : String, new_name : String)
Source
rename_table(old_name : String, new_name : String)
Source
table
Source
to_column
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
to_table
Source