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