struct Avram::Database::TableInfo

Defined in:

avram/database/table_info.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Constructor Detail

def self.new(table_name : String, table_type : String, table_schema : String) #

[View source]

Instance Method Detail

def column(name : String) : ColumnInfo | Nil #

[View source]
def column?(name : String) : Bool #

[View source]
def column_names : Array(String) #

[View source]

[View source]
def migrations_table? : Bool #

[View source]
def table? : Bool #

[View source]
def table_name : String #

[View source]
def table_schema : String #

[View source]
def table_type : String #

[View source]
def view? : Bool #

[View source]