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