class Marten::DB::Management::Statement::ForeignKeyName
- Marten::DB::Management::Statement::ForeignKeyName
- Reference
- Object
Defined in:
marten/db/management/statement/foreign_key_name.crConstructors
Instance Method Summary
- #column : String
- #references_column?(table : String, column : String | Nil)
- #references_table?(name : String | Nil)
- #rename_column(table : String, old_name : String, new_name : String)
- #rename_table(old_name : String, new_name : String)
- #table : String
- #to_column : String
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #to_table : String
Constructor Detail
def self.new(index_name_proc : Proc(String, Array(String), String, String), table : String, column : String, to_table : String, to_column : String)
#
Instance Method Detail
def to_s
#
Description copied from class Object
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
.