class Thing

Defined in:

models/thing.cr

Constant Summary

FIELDS_ = {"id" => {type: "big_int", kwargs: {primary_key: true, auto: true}}, "must_have" => {type: "uuid", kwargs: {}}} of Nil => Nil

Instance Method Summary

Instance Method Detail

def ensure_must_have #

[View source]
def id : Int32 | Int64 | Nil | Nil #

def id! #

def id=(id : Int32 | Int64 | Nil | Nil) #

def id? #

def must_have : UUID | Nil | Nil #

def must_have! #

def must_have=(must_have : UUID | Nil | Nil) #

def must_have? #