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