Allows you to perform aggregations operations on a GuildAutoDeletes.
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 GuildAutoDeletes.
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, GuildAutoDeletesCountArgs>Arguments to filter GuildAutoDeletes to count.
Create a GuildAutoDeletes.
Arguments to create a GuildAutoDeletes.
Create many GuildAutoDeletes.
Optional
args: SelectSubset<T, GuildAutoDeletesCreateManyArgs<ExtArgs>>Arguments to create many GuildAutoDeletes.
Create many GuildAutoDeletes and returns the data saved in the database.
Optional
args: SelectSubset<T, GuildAutoDeletesCreateManyAndReturnArgs<ExtArgs>>Arguments to create many GuildAutoDeletes.
// Create many GuildAutoDeletes
const guildAutoDeletes = await prisma.guildAutoDeletes.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many GuildAutoDeletes and only return the `Id`
const guildAutoDeletesWithIdOnly = await prisma.guildAutoDeletes.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 GuildAutoDeletes.
Arguments to delete one GuildAutoDeletes.
Delete zero or more GuildAutoDeletes.
Optional
args: SelectSubset<T, GuildAutoDeletesDeleteManyArgs<ExtArgs>>Arguments to filter GuildAutoDeletes to delete.
Find the first GuildAutoDeletes 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, GuildAutoDeletesFindFirstArgs<ExtArgs>>Arguments to find a GuildAutoDeletes
Find the first GuildAutoDeletes 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, GuildAutoDeletesFindFirstOrThrowArgs<ExtArgs>>Arguments to find a GuildAutoDeletes
Find zero or more GuildAutoDeletes 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, GuildAutoDeletesFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all GuildAutoDeletes
const guildAutoDeletes = await prisma.guildAutoDeletes.findMany()
// Get first 10 GuildAutoDeletes
const guildAutoDeletes = await prisma.guildAutoDeletes.findMany({ take: 10 })
// Only select the `Id`
const guildAutoDeletesWithIdOnly = await prisma.guildAutoDeletes.findMany({ select: { Id: true } })
Find zero or one GuildAutoDeletes that matches the filter.
Arguments to find a GuildAutoDeletes
Find one GuildAutoDeletes that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a GuildAutoDeletes
Group by GuildAutoDeletes.
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 GuildAutoDeletes.
Arguments to update one GuildAutoDeletes.
Update zero or more GuildAutoDeletes.
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 GuildAutoDeletes and returns the data updated in the database.
Arguments to update many GuildAutoDeletes.
// Update many GuildAutoDeletes
const guildAutoDeletes = await prisma.guildAutoDeletes.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more GuildAutoDeletes and only return the `Id`
const guildAutoDeletesWithIdOnly = await prisma.guildAutoDeletes.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 GuildAutoDeletes.
Arguments to update or create a GuildAutoDeletes.
Fields of the GuildAutoDeletes model