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