Allows you to perform aggregations operations on a GuildDrops.
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 GuildDrops.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Subset<T, GuildDropsCountArgs<DefaultArgs>>Arguments to filter GuildDrops to count.
Create a GuildDrops.
Arguments to create a GuildDrops.
Create many GuildDrops.
Optionalargs: SelectSubset<T, GuildDropsCreateManyArgs<ExtArgs>>Arguments to create many GuildDrops.
Create many GuildDrops and returns the data saved in the database.
Optionalargs: SelectSubset<T, GuildDropsCreateManyAndReturnArgs<ExtArgs>>Arguments to create many GuildDrops.
// Create many GuildDrops
const guildDrops = await prisma.guildDrops.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many GuildDrops and only return the `dbId`
const guildDropsWithDbIdOnly = await prisma.guildDrops.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 GuildDrops.
Arguments to delete one GuildDrops.
Delete zero or more GuildDrops.
Optionalargs: SelectSubset<T, GuildDropsDeleteManyArgs<ExtArgs>>Arguments to filter GuildDrops to delete.
Find the first GuildDrops 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, GuildDropsFindFirstArgs<ExtArgs>>Arguments to find a GuildDrops
Find the first GuildDrops 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, GuildDropsFindFirstOrThrowArgs<ExtArgs>>Arguments to find a GuildDrops
Find zero or more GuildDrops 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, GuildDropsFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one GuildDrops that matches the filter.
Arguments to find a GuildDrops
Find one GuildDrops that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a GuildDrops
Group by GuildDrops.
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 GuildDrops.
Arguments to update one GuildDrops.
Update zero or more GuildDrops.
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 GuildDrops and returns the data updated in the database.
Arguments to update many GuildDrops.
// Update many GuildDrops
const guildDrops = await prisma.guildDrops.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more GuildDrops and only return the `dbId`
const guildDropsWithDbIdOnly = await prisma.guildDrops.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 GuildDrops.
Arguments to update or create a GuildDrops.
Fields of the GuildDrops model