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