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