({ args, query }: QueryHookParams<Prisma.UserMcpServerUpdateManyAndReturnArgs>)
| 314 | return query(scopeUserMcpServerWriteManyArgs(args, user, 'userMcpServer.updateMany')); |
| 315 | }, |
| 316 | async updateManyAndReturn({ args, query }: QueryHookParams<Prisma.UserMcpServerUpdateManyAndReturnArgs>) { |
| 317 | assertNoUserMcpServerRelationAccess(args, 'userMcpServer.updateManyAndReturn'); |
| 318 | requireAuthenticatedUser(user, 'userMcpServer.updateManyAndReturn'); |
| 319 | assertNoIdentityMutation((args as UserMcpServerUpdateArgs).data, 'userMcpServer.updateManyAndReturn'); |
| 320 | return query(scopeUserMcpServerWriteManyArgs(args, user, 'userMcpServer.updateManyAndReturn')); |
| 321 | }, |
| 322 | async delete({ args, query }: QueryHookParams<Prisma.UserMcpServerDeleteArgs>) { |
| 323 | assertNoUserMcpServerRelationAccess(args, 'userMcpServer.delete'); |
| 324 | assertUserMcpServerUniqueWhereForUser(args.where, user, 'userMcpServer.delete'); |
nothing calls this directly
no test coverage detected