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