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