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

Method to

sea-orm-codegen/tests/expanded/filling.rs:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58impl Related<super::cake::Entity> for Entity {
59 fn to() -> RelationDef {
60 super::cake_filling::Relation::Cake.def()
61 }
62 fn via() -> Option<RelationDef> {
63 Some(super::cake_filling::Relation::Filling.def().rev())
64 }

Callers

nothing calls this directly

Calls 1

defMethod · 0.45

Tested by

no test coverage detected