Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ def
Method
def
examples/basic/src/example_cake_filling.rs:62–67 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
60
type EntityName = Entity;
61
62
fn def(&self) -> ColumnDef {
63
match self {
64
Self::CakeId => ColumnType::Integer.def(),
65
Self::FillingId => ColumnType::Integer.def(),
66
}
67
}
68
}
69
70
impl RelationTrait for Relation {
Callers
nothing calls this directly
Calls
2
to
Method · 0.45
from
Method · 0.45
Tested by
no test coverage detected