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