Allows you to perform aggregations operations on a App.
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 Apps.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Prisma.Subset<T, AppCountArgs<DefaultArgs>>Arguments to filter Apps to count.
Create a App.
Arguments to create a App.
Create many Apps.
Optionalargs: Prisma.SelectSubset<T, AppCreateManyArgs<ExtArgs>>Arguments to create many Apps.
Create many Apps and returns the data saved in the database.
Optionalargs: Prisma.SelectSubset<T, AppCreateManyAndReturnArgs<ExtArgs>>Arguments to create many Apps.
// Create many Apps
const app = await prisma.app.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many Apps and only return the `id`
const appWithIdOnly = await prisma.app.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 App.
Arguments to delete one App.
Delete zero or more Apps.
Optionalargs: Prisma.SelectSubset<T, AppDeleteManyArgs<ExtArgs>>Arguments to filter Apps to delete.
Find the first App 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: Prisma.SelectSubset<T, AppFindFirstArgs<ExtArgs>>Arguments to find a App
Find the first App 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: Prisma.SelectSubset<T, AppFindFirstOrThrowArgs<ExtArgs>>Arguments to find a App
Find zero or more Apps 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: Prisma.SelectSubset<T, AppFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one App that matches the filter.
Arguments to find a App
Find one App that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a App
Group by App.
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 App.
Arguments to update one App.
Update zero or more Apps.
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 Apps and returns the data updated in the database.
Arguments to update many Apps.
// Update many Apps
const app = await prisma.app.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more Apps and only return the `id`
const appWithIdOnly = await prisma.app.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 App.
Arguments to update or create a App.
Fields of the App model