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