Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ routes
Function
routes
examples/loco_example/src/controllers/notes.rs:61–69 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
}
60
61
pub fn routes() -> Routes {
62
Routes::new()
63
.prefix(
"notes"
)
64
.add(
"/"
, get(list))
65
.add(
"/"
, post(add))
66
.add(
"/{id}"
, get(get_one))
67
.add(
"/{id}"
, delete(remove))
68
.add(
"/{id}"
, post(update))
69
}
Callers
1
routes
Method · 0.50
Calls
3
add
Method · 0.80
new
Function · 0.50
delete
Function · 0.50
Tested by
no test coverage detected