Allows you to perform aggregations operations on a UserRumbleAccount.
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 UserRumbleAccounts.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Subset<T, UserRumbleAccountCountArgs<DefaultArgs>>Arguments to filter UserRumbleAccounts to count.
Create a UserRumbleAccount.
Arguments to create a UserRumbleAccount.
Create many UserRumbleAccounts.
Optionalargs: SelectSubset<T, UserRumbleAccountCreateManyArgs<ExtArgs>>Arguments to create many UserRumbleAccounts.
Create many UserRumbleAccounts and returns the data saved in the database.
Optionalargs: SelectSubset<T, UserRumbleAccountCreateManyAndReturnArgs<ExtArgs>>Arguments to create many UserRumbleAccounts.
// Create many UserRumbleAccounts
const userRumbleAccount = await prisma.userRumbleAccount.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many UserRumbleAccounts and only return the `dbId`
const userRumbleAccountWithDbIdOnly = await prisma.userRumbleAccount.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 UserRumbleAccount.
Arguments to delete one UserRumbleAccount.
Delete zero or more UserRumbleAccounts.
Optionalargs: SelectSubset<T, UserRumbleAccountDeleteManyArgs<ExtArgs>>Arguments to filter UserRumbleAccounts to delete.
Find the first UserRumbleAccount 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, UserRumbleAccountFindFirstArgs<ExtArgs>>Arguments to find a UserRumbleAccount
Find the first UserRumbleAccount 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, UserRumbleAccountFindFirstOrThrowArgs<ExtArgs>>Arguments to find a UserRumbleAccount
Find zero or more UserRumbleAccounts 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, UserRumbleAccountFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all UserRumbleAccounts
const userRumbleAccounts = await prisma.userRumbleAccount.findMany()
// Get first 10 UserRumbleAccounts
const userRumbleAccounts = await prisma.userRumbleAccount.findMany({ take: 10 })
// Only select the `dbId`
const userRumbleAccountWithDbIdOnly = await prisma.userRumbleAccount.findMany({ select: { dbId: true } })
Find zero or one UserRumbleAccount that matches the filter.
Arguments to find a UserRumbleAccount
Find one UserRumbleAccount that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a UserRumbleAccount
Group by UserRumbleAccount.
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 UserRumbleAccount.
Arguments to update one UserRumbleAccount.
Update zero or more UserRumbleAccounts.
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 UserRumbleAccounts and returns the data updated in the database.
Arguments to update many UserRumbleAccounts.
// Update many UserRumbleAccounts
const userRumbleAccount = await prisma.userRumbleAccount.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more UserRumbleAccounts and only return the `dbId`
const userRumbleAccountWithDbIdOnly = await prisma.userRumbleAccount.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 UserRumbleAccount.
Arguments to update or create a UserRumbleAccount.
Fields of the UserRumbleAccount model