MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / def

Method def

sea-orm-codegen/tests/expanded/cake_filling.rs:48–53  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

46impl ColumnTrait for Column {
47 type EntityName = Entity;
48 fn def(&self) -> ColumnDef {
49 match self {
50 Self::CakeId => ColumnType::Integer.def(),
51 Self::FillingId => ColumnType::Integer.def(),
52 }
53 }
54}
55
56impl RelationTrait for Relation {

Callers 1

toMethod · 0.45

Calls 2

toMethod · 0.45
fromMethod · 0.45

Tested by

no test coverage detected