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