Allows you to perform aggregations operations on a VanityEmbed.
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 VanityEmbeds.
Note, that providing undefined
is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optional
args: Subset<T, VanityEmbedCountArgs>Arguments to filter VanityEmbeds to count.
Create a VanityEmbed.
Arguments to create a VanityEmbed.
Create many VanityEmbeds.
Optional
args: SelectSubset<T, VanityEmbedCreateManyArgs<ExtArgs>>Arguments to create many VanityEmbeds.
Create many VanityEmbeds and returns the data saved in the database.
Optional
args: SelectSubset<T, VanityEmbedCreateManyAndReturnArgs<ExtArgs>>Arguments to create many VanityEmbeds.
// Create many VanityEmbeds
const vanityEmbed = await prisma.vanityEmbed.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many VanityEmbeds and only return the `Id`
const vanityEmbedWithIdOnly = await prisma.vanityEmbed.createManyAndReturn({
select: { Id: 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 VanityEmbed.
Arguments to delete one VanityEmbed.
Delete zero or more VanityEmbeds.
Optional
args: SelectSubset<T, VanityEmbedDeleteManyArgs<ExtArgs>>Arguments to filter VanityEmbeds to delete.
Find the first VanityEmbed 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
Optional
args: SelectSubset<T, VanityEmbedFindFirstArgs<ExtArgs>>Arguments to find a VanityEmbed
Find the first VanityEmbed 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
Optional
args: SelectSubset<T, VanityEmbedFindFirstOrThrowArgs<ExtArgs>>Arguments to find a VanityEmbed
Find zero or more VanityEmbeds 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
Optional
args: SelectSubset<T, VanityEmbedFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one VanityEmbed that matches the filter.
Arguments to find a VanityEmbed
Find one VanityEmbed that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a VanityEmbed
Group by VanityEmbed.
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 VanityEmbed.
Arguments to update one VanityEmbed.
Update zero or more VanityEmbeds.
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 VanityEmbeds and returns the data updated in the database.
Arguments to update many VanityEmbeds.
// Update many VanityEmbeds
const vanityEmbed = await prisma.vanityEmbed.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more VanityEmbeds and only return the `Id`
const vanityEmbedWithIdOnly = await prisma.vanityEmbed.updateManyAndReturn({
select: { Id: 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 VanityEmbed.
Arguments to update or create a VanityEmbed.
Fields of the VanityEmbed model