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