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