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