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