Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eggjs/examples
/ show
Method
show
sequelize/app/controller/user.js:15–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
}
14
15
async
show() {
16
const
ctx = this.ctx;
17
ctx.body =
await
ctx.service.user.find(ctx.helper.parseInt(ctx.params.id));
18
}
19
20
async
create() {
21
const
ctx = this.ctx;
Callers
nothing calls this directly
Calls
1
find
Method · 0.45
Tested by
no test coverage detected