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