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