Documentation

TypeDB.ORM.Attr

ORM attributes #

@[typedb "label"] on a structure sets its TypeDB type label (default: the kebab-case of the type's name). Field-level settings are type markers (Key, Role, Label in TypeDB.ORM), because Lean does not accept attributes on structure fields.