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