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