struct Lustra::Model::Introspection::SchemaColumnInfo

Overview

Lightweight snapshot of a table column used by schema_description.

Defined in:

lustra/model/modules/introspection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, data_type : String, nullable : Bool, default_value : String | Nil, collation : String | Nil, description : String | Nil) #

[View source]

Instance Method Detail

def collation : String? #

[View source]
def data_type : String #

[View source]
def default_value : String? #

[View source]
def description : String? #

[View source]
def name : String #

[View source]
def nullable : Bool #

[View source]