Allows you to perform aggregations operations on a GuildLogs.
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 GuildLogs.
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, GuildLogsCountArgs>Arguments to filter GuildLogs to count.
Create a GuildLogs.
Arguments to create a GuildLogs.
Create many GuildLogs.
Optional
args: SelectSubset<T, GuildLogsCreateManyArgs<ExtArgs>>Arguments to create many GuildLogs.
Create many GuildLogs and returns the data saved in the database.
Optional
args: SelectSubset<T, GuildLogsCreateManyAndReturnArgs<ExtArgs>>Arguments to create many GuildLogs.
// Create many GuildLogs
const guildLogs = await prisma.guildLogs.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many GuildLogs and only return the `Id`
const guildLogsWithIdOnly = await prisma.guildLogs.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 GuildLogs.
Arguments to delete one GuildLogs.
Delete zero or more GuildLogs.
Optional
args: SelectSubset<T, GuildLogsDeleteManyArgs<ExtArgs>>Arguments to filter GuildLogs to delete.
Find the first GuildLogs 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, GuildLogsFindFirstArgs<ExtArgs>>Arguments to find a GuildLogs
Find the first GuildLogs 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, GuildLogsFindFirstOrThrowArgs<ExtArgs>>Arguments to find a GuildLogs
Find zero or more GuildLogs 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, GuildLogsFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one GuildLogs that matches the filter.
Arguments to find a GuildLogs
Find one GuildLogs that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a GuildLogs
Group by GuildLogs.
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 GuildLogs.
Arguments to update one GuildLogs.
Update zero or more GuildLogs.
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 GuildLogs and returns the data updated in the database.
Arguments to update many GuildLogs.
// Update many GuildLogs
const guildLogs = await prisma.guildLogs.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more GuildLogs and only return the `Id`
const guildLogsWithIdOnly = await prisma.guildLogs.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 GuildLogs.
Arguments to update or create a GuildLogs.
Fields of the GuildLogs model