Allows you to perform aggregations operations on a DropGame.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Select which aggregations you would like to apply and on what fields.
Count the number of DropGames.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Subset<T, DropGameCountArgs<DefaultArgs>>Arguments to filter DropGames to count.
Create a DropGame.
Arguments to create a DropGame.
Create many DropGames.
Optionalargs: SelectSubset<T, DropGameCreateManyArgs<ExtArgs>>Arguments to create many DropGames.
Create many DropGames and returns the data saved in the database.
Optionalargs: SelectSubset<T, DropGameCreateManyAndReturnArgs<ExtArgs>>Arguments to create many DropGames.
// Create many DropGames
const dropGame = await prisma.dropGame.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many DropGames and only return the `dbId`
const dropGameWithDbIdOnly = await prisma.dropGame.createManyAndReturn({
select: { dbId: true },
data: [
// ... provide data here
]
})
Note, that providing `undefined` is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Delete a DropGame.
Arguments to delete one DropGame.
Delete zero or more DropGames.
Optionalargs: SelectSubset<T, DropGameDeleteManyArgs<ExtArgs>>Arguments to filter DropGames to delete.
Find the first DropGame that matches the filter.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: SelectSubset<T, DropGameFindFirstArgs<ExtArgs>>Arguments to find a DropGame
Find the first DropGame that matches the filter or
throw PrismaKnownClientError with P2025 code if no matches were found.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: SelectSubset<T, DropGameFindFirstOrThrowArgs<ExtArgs>>Arguments to find a DropGame
Find zero or more DropGames that matches the filter.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: SelectSubset<T, DropGameFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one DropGame that matches the filter.
Arguments to find a DropGame
Find one DropGame that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a DropGame
Group by DropGame.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Group by arguments.
Update one DropGame.
Arguments to update one DropGame.
Update zero or more DropGames.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Arguments to update one or more rows.
Update zero or more DropGames and returns the data updated in the database.
Arguments to update many DropGames.
// Update many DropGames
const dropGame = await prisma.dropGame.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more DropGames and only return the `dbId`
const dropGameWithDbIdOnly = await prisma.dropGame.updateManyAndReturn({
select: { dbId: true },
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
Note, that providing `undefined` is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Create or update one DropGame.
Arguments to update or create a DropGame.
Fields of the DropGame model