class Marten::DB::Management::Introspector::ColumnInfo

Defined in:

marten/db/management/introspector/column_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, type : String, nullable : Bool, default : ::DB::Any | Nil, character_maximum_length : Int32 | Int64 | Nil = nil) #

[View source]

Instance Method Detail

def character_maximum_length : Int32 | Int64 | Nil #

[View source]
def default : Bool | Float32 | Float64 | Int32 | Int64 | Slice(UInt8) | String | Time | Nil #

[View source]
def name : String #

[View source]
def nullable? : Bool #

[View source]
def type : String #

[View source]