Allows you to perform aggregations operations on a GuildBackups.
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 GuildBackups.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Subset<T, GuildBackupsCountArgs>Arguments to filter GuildBackups to count.
Create a GuildBackups.
Arguments to create a GuildBackups.
Create many GuildBackups.
Optionalargs: SelectSubset<T, GuildBackupsCreateManyArgs<ExtArgs>>Arguments to create many GuildBackups.
Create many GuildBackups and returns the data saved in the database.
Optionalargs: SelectSubset<T, GuildBackupsCreateManyAndReturnArgs<ExtArgs>>Arguments to create many GuildBackups.
// Create many GuildBackups
const guildBackups = await prisma.guildBackups.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many GuildBackups and only return the `Id`
const guildBackupsWithIdOnly = await prisma.guildBackups.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 GuildBackups.
Arguments to delete one GuildBackups.
Delete zero or more GuildBackups.
Optionalargs: SelectSubset<T, GuildBackupsDeleteManyArgs<ExtArgs>>Arguments to filter GuildBackups to delete.
Find the first GuildBackups 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
Optionalargs: SelectSubset<T, GuildBackupsFindFirstArgs<ExtArgs>>Arguments to find a GuildBackups
Find the first GuildBackups 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
Optionalargs: SelectSubset<T, GuildBackupsFindFirstOrThrowArgs<ExtArgs>>Arguments to find a GuildBackups
Find zero or more GuildBackups 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
Optionalargs: SelectSubset<T, GuildBackupsFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one GuildBackups that matches the filter.
Arguments to find a GuildBackups
Find one GuildBackups that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a GuildBackups
Group by GuildBackups.
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 GuildBackups.
Arguments to update one GuildBackups.
Update zero or more GuildBackups.
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 GuildBackups and returns the data updated in the database.
Arguments to update many GuildBackups.
// Update many GuildBackups
const guildBackups = await prisma.guildBackups.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more GuildBackups and only return the `Id`
const guildBackupsWithIdOnly = await prisma.guildBackups.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 GuildBackups.
Arguments to update or create a GuildBackups.
Fields of the GuildBackups model