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