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