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