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