class Marten::DB::Management::Statement::IndexName
- Marten::DB::Management::Statement::IndexName
- Reference
- Object
Defined in:
marten/db/management/statement/index_name.crConstructors
Instance Method Summary
- #columns : Array(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)
- #suffix : String
- #table : String
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
def self.new(index_name_proc : Proc(String, Array(String), String, String), table : String, columns : Array(String), suffix : 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
.