struct PgORM::Database::TableInfo

Included Modules

Defined in:

pg-orm/database.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

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

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

[View source]
def column_names #

[View source]
def columns : Array(PgORM::Database::ColumnInfo) #

[View source]
def table? #

[View source]
def table_catalog : String #

[View source]
def table_name : String #

[View source]
def table_schema : String #

[View source]
def table_type : String #

[View source]
def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]