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