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

Function routes

examples/react_admin/backend/src/controllers/notes.rs:67–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67pub fn routes() -> Routes {
68 Routes::new()
69 .prefix("notes")
70 .add("/", get(list))
71 .add("/", post(add))
72 .add("/{id}", get(get_one))
73 .add("/{id}", delete(remove))
74 .add("/{id}", post(update))
75}

Callers

nothing calls this directly

Calls 3

addMethod · 0.80
newFunction · 0.50
deleteFunction · 0.50

Tested by

no test coverage detected