Allows you to perform aggregations operations on a GuildDisBotAutoModerationBlockInvites.
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 GuildDisBotAutoModerationBlockInvites.
Note, that providing undefined
is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optional
args: Subset<T, GuildDisBotAutoModerationBlockInvitesCountArgs>Arguments to filter GuildDisBotAutoModerationBlockInvites to count.
Create a GuildDisBotAutoModerationBlockInvites.
Arguments to create a GuildDisBotAutoModerationBlockInvites.
Create many GuildDisBotAutoModerationBlockInvites.
Optional
args: SelectSubset<T, GuildDisBotAutoModerationBlockInvitesCreateManyArgs<ExtArgs>>Arguments to create many GuildDisBotAutoModerationBlockInvites.
Create many GuildDisBotAutoModerationBlockInvites and returns the data saved in the database.
Optional
args: SelectSubset<Arguments to create many GuildDisBotAutoModerationBlockInvites.
// Create many GuildDisBotAutoModerationBlockInvites
const guildDisBotAutoModerationBlockInvites = await prisma.guildDisBotAutoModerationBlockInvites.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many GuildDisBotAutoModerationBlockInvites and only return the `Id`
const guildDisBotAutoModerationBlockInvitesWithIdOnly = await prisma.guildDisBotAutoModerationBlockInvites.createManyAndReturn({
select: { Id: 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 GuildDisBotAutoModerationBlockInvites.
Arguments to delete one GuildDisBotAutoModerationBlockInvites.
Delete zero or more GuildDisBotAutoModerationBlockInvites.
Optional
args: SelectSubset<T, GuildDisBotAutoModerationBlockInvitesDeleteManyArgs<ExtArgs>>Arguments to filter GuildDisBotAutoModerationBlockInvites to delete.
Find the first GuildDisBotAutoModerationBlockInvites 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
Optional
args: SelectSubset<T, GuildDisBotAutoModerationBlockInvitesFindFirstArgs<ExtArgs>>Arguments to find a GuildDisBotAutoModerationBlockInvites
Find the first GuildDisBotAutoModerationBlockInvites 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
Optional
args: SelectSubset<Arguments to find a GuildDisBotAutoModerationBlockInvites
Find zero or more GuildDisBotAutoModerationBlockInvites 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
Optional
args: SelectSubset<T, GuildDisBotAutoModerationBlockInvitesFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all GuildDisBotAutoModerationBlockInvites
const guildDisBotAutoModerationBlockInvites = await prisma.guildDisBotAutoModerationBlockInvites.findMany()
// Get first 10 GuildDisBotAutoModerationBlockInvites
const guildDisBotAutoModerationBlockInvites = await prisma.guildDisBotAutoModerationBlockInvites.findMany({ take: 10 })
// Only select the `Id`
const guildDisBotAutoModerationBlockInvitesWithIdOnly = await prisma.guildDisBotAutoModerationBlockInvites.findMany({ select: { Id: true } })
Find zero or one GuildDisBotAutoModerationBlockInvites that matches the filter.
Arguments to find a GuildDisBotAutoModerationBlockInvites
Find one GuildDisBotAutoModerationBlockInvites that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a GuildDisBotAutoModerationBlockInvites
Group by GuildDisBotAutoModerationBlockInvites.
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 GuildDisBotAutoModerationBlockInvites.
Arguments to update one GuildDisBotAutoModerationBlockInvites.
Update zero or more GuildDisBotAutoModerationBlockInvites.
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 GuildDisBotAutoModerationBlockInvites and returns the data updated in the database.
Arguments to update many GuildDisBotAutoModerationBlockInvites.
// Update many GuildDisBotAutoModerationBlockInvites
const guildDisBotAutoModerationBlockInvites = await prisma.guildDisBotAutoModerationBlockInvites.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more GuildDisBotAutoModerationBlockInvites and only return the `Id`
const guildDisBotAutoModerationBlockInvitesWithIdOnly = await prisma.guildDisBotAutoModerationBlockInvites.updateManyAndReturn({
select: { Id: 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 GuildDisBotAutoModerationBlockInvites.
Arguments to update or create a GuildDisBotAutoModerationBlockInvites.
// Update or create a GuildDisBotAutoModerationBlockInvites
const guildDisBotAutoModerationBlockInvites = await prisma.guildDisBotAutoModerationBlockInvites.upsert({
create: {
// ... data to create a GuildDisBotAutoModerationBlockInvites
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the GuildDisBotAutoModerationBlockInvites we want to update
}
})
Fields of the GuildDisBotAutoModerationBlockInvites model