class Marten::DB::Management::Statement::Table

Defined in:

marten/db/management/statement/table.cr

Constructors

Instance Method Summary

Instance methods inherited from class Marten::DB::Management::Statement::Reference

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

Constructor Detail

def self.new(quote_proc : Proc(String, String), name : String) #

[View source]

Instance Method Detail

def name : String #

[View source]
def references_table?(name : String | Nil) #

[View source]
def rename_table(old_name : String, new_name : String) #

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


[View source]