Allows you to perform aggregations operations on a WelcomeImageData.
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 WelcomeImageData.
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, WelcomeImageDataCountArgs>Arguments to filter WelcomeImageData to count.
Create a WelcomeImageData.
Arguments to create a WelcomeImageData.
Create many WelcomeImageData.
Optional
args: SelectSubset<T, WelcomeImageDataCreateManyArgs<ExtArgs>>Arguments to create many WelcomeImageData.
Create many WelcomeImageData and returns the data saved in the database.
Optional
args: SelectSubset<T, WelcomeImageDataCreateManyAndReturnArgs<ExtArgs>>Arguments to create many WelcomeImageData.
// Create many WelcomeImageData
const welcomeImageData = await prisma.welcomeImageData.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many WelcomeImageData and only return the `Id`
const welcomeImageDataWithIdOnly = await prisma.welcomeImageData.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 WelcomeImageData.
Arguments to delete one WelcomeImageData.
Delete zero or more WelcomeImageData.
Optional
args: SelectSubset<T, WelcomeImageDataDeleteManyArgs<ExtArgs>>Arguments to filter WelcomeImageData to delete.
Find the first WelcomeImageData 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, WelcomeImageDataFindFirstArgs<ExtArgs>>Arguments to find a WelcomeImageData
Find the first WelcomeImageData 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, WelcomeImageDataFindFirstOrThrowArgs<ExtArgs>>Arguments to find a WelcomeImageData
Find zero or more WelcomeImageData 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, WelcomeImageDataFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all WelcomeImageData
const welcomeImageData = await prisma.welcomeImageData.findMany()
// Get first 10 WelcomeImageData
const welcomeImageData = await prisma.welcomeImageData.findMany({ take: 10 })
// Only select the `Id`
const welcomeImageDataWithIdOnly = await prisma.welcomeImageData.findMany({ select: { Id: true } })
Find zero or one WelcomeImageData that matches the filter.
Arguments to find a WelcomeImageData
Find one WelcomeImageData that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a WelcomeImageData
Group by WelcomeImageData.
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 WelcomeImageData.
Arguments to update one WelcomeImageData.
Update zero or more WelcomeImageData.
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 WelcomeImageData and returns the data updated in the database.
Arguments to update many WelcomeImageData.
// Update many WelcomeImageData
const welcomeImageData = await prisma.welcomeImageData.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more WelcomeImageData and only return the `Id`
const welcomeImageDataWithIdOnly = await prisma.welcomeImageData.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 WelcomeImageData.
Arguments to update or create a WelcomeImageData.
Fields of the WelcomeImageData model