Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nestjs/nest
/ findAll
Method
findAll
sample/22-graphql-prisma/src/posts/posts.service.ts:18–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
}
17
18
async
findAll(): Promise<Post[]> {
19
return
this.prisma.post.findMany({});
20
}
21
22
async
create(input: NewPost): Promise<Post> {
23
return
this.prisma.post.create({
Callers
1
posts
Method · 0.45
Calls
1
findMany
Method · 0.65
Tested by
no test coverage detected