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