Allows you to perform aggregations operations on a GuildDisBotAutoModerationBlockLinks.
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 GuildDisBotAutoModerationBlockLinks.
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, GuildDisBotAutoModerationBlockLinksCountArgs>Arguments to filter GuildDisBotAutoModerationBlockLinks to count.
Create a GuildDisBotAutoModerationBlockLinks.
Arguments to create a GuildDisBotAutoModerationBlockLinks.
Create many GuildDisBotAutoModerationBlockLinks.
Optional
args: SelectSubset<T, GuildDisBotAutoModerationBlockLinksCreateManyArgs<ExtArgs>>Arguments to create many GuildDisBotAutoModerationBlockLinks.
Create many GuildDisBotAutoModerationBlockLinks and returns the data saved in the database.
Optional
args: SelectSubset<Arguments to create many GuildDisBotAutoModerationBlockLinks.
// Create many GuildDisBotAutoModerationBlockLinks
const guildDisBotAutoModerationBlockLinks = await prisma.guildDisBotAutoModerationBlockLinks.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many GuildDisBotAutoModerationBlockLinks and only return the `Id`
const guildDisBotAutoModerationBlockLinksWithIdOnly = await prisma.guildDisBotAutoModerationBlockLinks.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 GuildDisBotAutoModerationBlockLinks.
Arguments to delete one GuildDisBotAutoModerationBlockLinks.
Delete zero or more GuildDisBotAutoModerationBlockLinks.
Optional
args: SelectSubset<T, GuildDisBotAutoModerationBlockLinksDeleteManyArgs<ExtArgs>>Arguments to filter GuildDisBotAutoModerationBlockLinks to delete.
Find the first GuildDisBotAutoModerationBlockLinks 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, GuildDisBotAutoModerationBlockLinksFindFirstArgs<ExtArgs>>Arguments to find a GuildDisBotAutoModerationBlockLinks
Find the first GuildDisBotAutoModerationBlockLinks 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 GuildDisBotAutoModerationBlockLinks
Find zero or more GuildDisBotAutoModerationBlockLinks 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, GuildDisBotAutoModerationBlockLinksFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all GuildDisBotAutoModerationBlockLinks
const guildDisBotAutoModerationBlockLinks = await prisma.guildDisBotAutoModerationBlockLinks.findMany()
// Get first 10 GuildDisBotAutoModerationBlockLinks
const guildDisBotAutoModerationBlockLinks = await prisma.guildDisBotAutoModerationBlockLinks.findMany({ take: 10 })
// Only select the `Id`
const guildDisBotAutoModerationBlockLinksWithIdOnly = await prisma.guildDisBotAutoModerationBlockLinks.findMany({ select: { Id: true } })
Find zero or one GuildDisBotAutoModerationBlockLinks that matches the filter.
Arguments to find a GuildDisBotAutoModerationBlockLinks
Find one GuildDisBotAutoModerationBlockLinks that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a GuildDisBotAutoModerationBlockLinks
Group by GuildDisBotAutoModerationBlockLinks.
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 GuildDisBotAutoModerationBlockLinks.
Arguments to update one GuildDisBotAutoModerationBlockLinks.
Update zero or more GuildDisBotAutoModerationBlockLinks.
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 GuildDisBotAutoModerationBlockLinks and returns the data updated in the database.
Arguments to update many GuildDisBotAutoModerationBlockLinks.
// Update many GuildDisBotAutoModerationBlockLinks
const guildDisBotAutoModerationBlockLinks = await prisma.guildDisBotAutoModerationBlockLinks.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more GuildDisBotAutoModerationBlockLinks and only return the `Id`
const guildDisBotAutoModerationBlockLinksWithIdOnly = await prisma.guildDisBotAutoModerationBlockLinks.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 GuildDisBotAutoModerationBlockLinks.
Arguments to update or create a GuildDisBotAutoModerationBlockLinks.
// Update or create a GuildDisBotAutoModerationBlockLinks
const guildDisBotAutoModerationBlockLinks = await prisma.guildDisBotAutoModerationBlockLinks.upsert({
create: {
// ... data to create a GuildDisBotAutoModerationBlockLinks
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the GuildDisBotAutoModerationBlockLinks we want to update
}
})
Fields of the GuildDisBotAutoModerationBlockLinks model