class Focus::Metadata::Column

Defined in:

generator/metadata/column.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, is_primary_key : Bool, is_nullable : Bool, is_generated : Bool, has_default : Bool, data_type : Focus::Metadata::Column::DataType, comment : Nil | String = nil) #

[View source]

Instance Method Detail

def comment : String | Nil #

[View source]
def data_type : DataType #

[View source]
def has_default : Bool #

[View source]
def is_generated : Bool #

[View source]
def is_nullable : Bool #

[View source]
def is_primary_key : Bool #

[View source]
def name : String #

[View source]