class ColumnAttribute

Included Modules

Defined in:

pocketlib/dbschema.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, is_optional : Bool | Nil, is_unique : Bool | Nil, relative_entity : Nil | ToRelated) #

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

[View source]

Instance Method Detail

def is_optional : Bool | Nil #

[View source]
def is_optional=(is_optional : Bool | Nil) #

[View source]
def is_unique : Bool | Nil #

[View source]
def is_unique=(is_unique : Bool | Nil) #

[View source]
def name : ColName #

[View source]
def name=(name : ColName) #

[View source]
def relative_entity : ToRelated | Nil #

[View source]
def relative_entity=(relative_entity : ToRelated | Nil) #

[View source]