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