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