class Puerd::Attribute

Defined in:

puerd/attribute.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, nullable : Bool = true, unique : Bool = false) #

[View source]

Instance Method Detail

def foreign_key=(foreign_key : Bool) #

[View source]
def foreign_key? : Bool #

[View source]
def name : String #

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

[View source]
def nullable=(nullable : Bool) #

[View source]
def nullable? : Bool #

[View source]
def primary_key=(primary_key : Bool) #

[View source]
def primary_key? : Bool #

[View source]
def to_s(io) #

[View source]
def unique=(unique : Bool) #

[View source]
def unique? : Bool #

[View source]