Allows you to perform aggregations operations on a XPDrops.
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 XPDrops.
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, XPDropsCountArgs>Arguments to filter XPDrops to count.
Create a XPDrops.
Arguments to create a XPDrops.
Create many XPDrops.
Optional
args: SelectSubset<T, XPDropsCreateManyArgs<ExtArgs>>Arguments to create many XPDrops.
Create many XPDrops and returns the data saved in the database.
Optional
args: SelectSubset<T, XPDropsCreateManyAndReturnArgs<ExtArgs>>Arguments to create many XPDrops.
// Create many XPDrops
const xPDrops = await prisma.xPDrops.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many XPDrops and only return the `Id`
const xPDropsWithIdOnly = await prisma.xPDrops.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 XPDrops.
Arguments to delete one XPDrops.
Delete zero or more XPDrops.
Optional
args: SelectSubset<T, XPDropsDeleteManyArgs<ExtArgs>>Arguments to filter XPDrops to delete.
Find the first XPDrops 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, XPDropsFindFirstArgs<ExtArgs>>Arguments to find a XPDrops
Find the first XPDrops 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, XPDropsFindFirstOrThrowArgs<ExtArgs>>Arguments to find a XPDrops
Find zero or more XPDrops 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, XPDropsFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one XPDrops that matches the filter.
Arguments to find a XPDrops
Find one XPDrops that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a XPDrops
Group by XPDrops.
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 XPDrops.
Arguments to update one XPDrops.
Update zero or more XPDrops.
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 XPDrops and returns the data updated in the database.
Arguments to update many XPDrops.
// Update many XPDrops
const xPDrops = await prisma.xPDrops.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more XPDrops and only return the `Id`
const xPDropsWithIdOnly = await prisma.xPDrops.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 XPDrops.
Arguments to update or create a XPDrops.
Fields of the XPDrops model