Allows you to perform aggregations operations on a GuildClipForward.
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 GuildClipForwards.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Subset<T, GuildClipForwardCountArgs<DefaultArgs>>Arguments to filter GuildClipForwards to count.
Create a GuildClipForward.
Arguments to create a GuildClipForward.
Create many GuildClipForwards.
Optionalargs: SelectSubset<T, GuildClipForwardCreateManyArgs<ExtArgs>>Arguments to create many GuildClipForwards.
Create many GuildClipForwards and returns the data saved in the database.
Optionalargs: SelectSubset<T, GuildClipForwardCreateManyAndReturnArgs<ExtArgs>>Arguments to create many GuildClipForwards.
// Create many GuildClipForwards
const guildClipForward = await prisma.guildClipForward.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many GuildClipForwards and only return the `dbId`
const guildClipForwardWithDbIdOnly = await prisma.guildClipForward.createManyAndReturn({
select: { dbId: 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 GuildClipForward.
Arguments to delete one GuildClipForward.
Delete zero or more GuildClipForwards.
Optionalargs: SelectSubset<T, GuildClipForwardDeleteManyArgs<ExtArgs>>Arguments to filter GuildClipForwards to delete.
Find the first GuildClipForward 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, GuildClipForwardFindFirstArgs<ExtArgs>>Arguments to find a GuildClipForward
Find the first GuildClipForward 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, GuildClipForwardFindFirstOrThrowArgs<ExtArgs>>Arguments to find a GuildClipForward
Find zero or more GuildClipForwards 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, GuildClipForwardFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all GuildClipForwards
const guildClipForwards = await prisma.guildClipForward.findMany()
// Get first 10 GuildClipForwards
const guildClipForwards = await prisma.guildClipForward.findMany({ take: 10 })
// Only select the `dbId`
const guildClipForwardWithDbIdOnly = await prisma.guildClipForward.findMany({ select: { dbId: true } })
Find zero or one GuildClipForward that matches the filter.
Arguments to find a GuildClipForward
Find one GuildClipForward that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a GuildClipForward
Group by GuildClipForward.
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 GuildClipForward.
Arguments to update one GuildClipForward.
Update zero or more GuildClipForwards.
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 GuildClipForwards and returns the data updated in the database.
Arguments to update many GuildClipForwards.
// Update many GuildClipForwards
const guildClipForward = await prisma.guildClipForward.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more GuildClipForwards and only return the `dbId`
const guildClipForwardWithDbIdOnly = await prisma.guildClipForward.updateManyAndReturn({
select: { dbId: 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 GuildClipForward.
Arguments to update or create a GuildClipForward.
Fields of the GuildClipForward model