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