Allows you to perform aggregations operations on a TempVoices.
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 TempVoices.
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, TempVoicesCountArgs>Arguments to filter TempVoices to count.
Create a TempVoices.
Arguments to create a TempVoices.
Create many TempVoices.
Optional
args: SelectSubset<T, TempVoicesCreateManyArgs<ExtArgs>>Arguments to create many TempVoices.
Create many TempVoices and returns the data saved in the database.
Optional
args: SelectSubset<T, TempVoicesCreateManyAndReturnArgs<ExtArgs>>Arguments to create many TempVoices.
// Create many TempVoices
const tempVoices = await prisma.tempVoices.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many TempVoices and only return the `Id`
const tempVoicesWithIdOnly = await prisma.tempVoices.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 TempVoices.
Arguments to delete one TempVoices.
Delete zero or more TempVoices.
Optional
args: SelectSubset<T, TempVoicesDeleteManyArgs<ExtArgs>>Arguments to filter TempVoices to delete.
Find the first TempVoices 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, TempVoicesFindFirstArgs<ExtArgs>>Arguments to find a TempVoices
Find the first TempVoices 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, TempVoicesFindFirstOrThrowArgs<ExtArgs>>Arguments to find a TempVoices
Find zero or more TempVoices 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, TempVoicesFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one TempVoices that matches the filter.
Arguments to find a TempVoices
Find one TempVoices that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a TempVoices
Group by TempVoices.
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 TempVoices.
Arguments to update one TempVoices.
Update zero or more TempVoices.
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 TempVoices and returns the data updated in the database.
Arguments to update many TempVoices.
// Update many TempVoices
const tempVoices = await prisma.tempVoices.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more TempVoices and only return the `Id`
const tempVoicesWithIdOnly = await prisma.tempVoices.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 TempVoices.
Arguments to update or create a TempVoices.
Fields of the TempVoices model