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

Method routes

examples/loco_example/src/app.rs:34–38  ·  view source on GitHub ↗
(_ctx: &AppContext)

Source from the content-addressed store, hash-verified

32 }
33
34 fn routes(_ctx: &AppContext) -> AppRoutes {
35 AppRoutes::with_default_routes()
36 .prefix("/api")
37 .add_route(controllers::notes::routes())
38 }
39
40 async fn connect_workers(_ctx: &AppContext, _queue: &Queue) -> Result<()> {
41 Ok(())

Callers

nothing calls this directly

Calls 1

routesFunction · 0.50

Tested by

no test coverage detected