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