class

Marten::DB::Management::Statement::Columns

Inherits Reference / Object

Constructors

new(quote_proc : Proc(String, String), table : String, columns : Array(String))
Source

Instance methods

columns
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_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