Allows you to perform aggregations operations on a GuildDropsWebhook.
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 GuildDropsWebhooks.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Subset<T, GuildDropsWebhookCountArgs<DefaultArgs>>Arguments to filter GuildDropsWebhooks to count.
Create a GuildDropsWebhook.
Arguments to create a GuildDropsWebhook.
Create many GuildDropsWebhooks.
Optionalargs: SelectSubset<T, GuildDropsWebhookCreateManyArgs<ExtArgs>>Arguments to create many GuildDropsWebhooks.
Create many GuildDropsWebhooks and returns the data saved in the database.
Optionalargs: SelectSubset<T, GuildDropsWebhookCreateManyAndReturnArgs<ExtArgs>>Arguments to create many GuildDropsWebhooks.
// Create many GuildDropsWebhooks
const guildDropsWebhook = await prisma.guildDropsWebhook.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many GuildDropsWebhooks and only return the `dbId`
const guildDropsWebhookWithDbIdOnly = await prisma.guildDropsWebhook.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 GuildDropsWebhook.
Arguments to delete one GuildDropsWebhook.
Delete zero or more GuildDropsWebhooks.
Optionalargs: SelectSubset<T, GuildDropsWebhookDeleteManyArgs<ExtArgs>>Arguments to filter GuildDropsWebhooks to delete.
Find the first GuildDropsWebhook 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, GuildDropsWebhookFindFirstArgs<ExtArgs>>Arguments to find a GuildDropsWebhook
Find the first GuildDropsWebhook 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, GuildDropsWebhookFindFirstOrThrowArgs<ExtArgs>>Arguments to find a GuildDropsWebhook
Find zero or more GuildDropsWebhooks 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, GuildDropsWebhookFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all GuildDropsWebhooks
const guildDropsWebhooks = await prisma.guildDropsWebhook.findMany()
// Get first 10 GuildDropsWebhooks
const guildDropsWebhooks = await prisma.guildDropsWebhook.findMany({ take: 10 })
// Only select the `dbId`
const guildDropsWebhookWithDbIdOnly = await prisma.guildDropsWebhook.findMany({ select: { dbId: true } })
Find zero or one GuildDropsWebhook that matches the filter.
Arguments to find a GuildDropsWebhook
Find one GuildDropsWebhook that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a GuildDropsWebhook
Group by GuildDropsWebhook.
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 GuildDropsWebhook.
Arguments to update one GuildDropsWebhook.
Update zero or more GuildDropsWebhooks.
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 GuildDropsWebhooks and returns the data updated in the database.
Arguments to update many GuildDropsWebhooks.
// Update many GuildDropsWebhooks
const guildDropsWebhook = await prisma.guildDropsWebhook.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more GuildDropsWebhooks and only return the `dbId`
const guildDropsWebhookWithDbIdOnly = await prisma.guildDropsWebhook.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 GuildDropsWebhook.
Arguments to update or create a GuildDropsWebhook.
Fields of the GuildDropsWebhook model