Allows you to perform aggregations operations on a FixUrlRule.
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 FixUrlRules.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Subset<T, FixUrlRuleCountArgs<DefaultArgs>>Arguments to filter FixUrlRules to count.
Create a FixUrlRule.
Arguments to create a FixUrlRule.
Create many FixUrlRules.
Optionalargs: SelectSubset<T, FixUrlRuleCreateManyArgs<ExtArgs>>Arguments to create many FixUrlRules.
Create many FixUrlRules and returns the data saved in the database.
Optionalargs: SelectSubset<T, FixUrlRuleCreateManyAndReturnArgs<ExtArgs>>Arguments to create many FixUrlRules.
// Create many FixUrlRules
const fixUrlRule = await prisma.fixUrlRule.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many FixUrlRules and only return the `dbId`
const fixUrlRuleWithDbIdOnly = await prisma.fixUrlRule.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 FixUrlRule.
Arguments to delete one FixUrlRule.
Delete zero or more FixUrlRules.
Optionalargs: SelectSubset<T, FixUrlRuleDeleteManyArgs<ExtArgs>>Arguments to filter FixUrlRules to delete.
Find the first FixUrlRule 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, FixUrlRuleFindFirstArgs<ExtArgs>>Arguments to find a FixUrlRule
Find the first FixUrlRule 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, FixUrlRuleFindFirstOrThrowArgs<ExtArgs>>Arguments to find a FixUrlRule
Find zero or more FixUrlRules 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, FixUrlRuleFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one FixUrlRule that matches the filter.
Arguments to find a FixUrlRule
Find one FixUrlRule that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a FixUrlRule
Group by FixUrlRule.
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 FixUrlRule.
Arguments to update one FixUrlRule.
Update zero or more FixUrlRules.
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 FixUrlRules and returns the data updated in the database.
Arguments to update many FixUrlRules.
// Update many FixUrlRules
const fixUrlRule = await prisma.fixUrlRule.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more FixUrlRules and only return the `dbId`
const fixUrlRuleWithDbIdOnly = await prisma.fixUrlRule.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 FixUrlRule.
Arguments to update or create a FixUrlRule.
Fields of the FixUrlRule model