We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df9465 commit 12804deCopy full SHA for 12804de
.stacks/core/database/src/factory/index.ts
@@ -14,8 +14,6 @@ const prisma = new PrismaClient({
14
const factory = (options: FactoryOptions) => {
15
return {
16
make: async () => {
17
- if (options.count)
18
-
19
return ResultAsync.fromPromise(
20
await prisma[options.name].createMany({
21
data: options.items,
@@ -26,8 +24,6 @@ const factory = (options: FactoryOptions) => {
26
24
},
27
25
28
create: async () => {
29
30
31
32
33
0 commit comments