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