Allows you to perform aggregations operations on a BuildInCommands.
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 BuildInCommands.
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, BuildInCommandsCountArgs>Arguments to filter BuildInCommands to count.
Create a BuildInCommands.
Arguments to create a BuildInCommands.
Create many BuildInCommands.
Optional
args: SelectSubset<T, BuildInCommandsCreateManyArgs<ExtArgs>>Arguments to create many BuildInCommands.
Create many BuildInCommands and returns the data saved in the database.
Optional
args: SelectSubset<T, BuildInCommandsCreateManyAndReturnArgs<ExtArgs>>Arguments to create many BuildInCommands.
// Create many BuildInCommands
const buildInCommands = await prisma.buildInCommands.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many BuildInCommands and only return the `Id`
const buildInCommandsWithIdOnly = await prisma.buildInCommands.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 BuildInCommands.
Arguments to delete one BuildInCommands.
Delete zero or more BuildInCommands.
Optional
args: SelectSubset<T, BuildInCommandsDeleteManyArgs<ExtArgs>>Arguments to filter BuildInCommands to delete.
Find the first BuildInCommands 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, BuildInCommandsFindFirstArgs<ExtArgs>>Arguments to find a BuildInCommands
Find the first BuildInCommands 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, BuildInCommandsFindFirstOrThrowArgs<ExtArgs>>Arguments to find a BuildInCommands
Find zero or more BuildInCommands 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, BuildInCommandsFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all BuildInCommands
const buildInCommands = await prisma.buildInCommands.findMany()
// Get first 10 BuildInCommands
const buildInCommands = await prisma.buildInCommands.findMany({ take: 10 })
// Only select the `Id`
const buildInCommandsWithIdOnly = await prisma.buildInCommands.findMany({ select: { Id: true } })
Find zero or one BuildInCommands that matches the filter.
Arguments to find a BuildInCommands
Find one BuildInCommands that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a BuildInCommands
Group by BuildInCommands.
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 BuildInCommands.
Arguments to update one BuildInCommands.
Update zero or more BuildInCommands.
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 BuildInCommands and returns the data updated in the database.
Arguments to update many BuildInCommands.
// Update many BuildInCommands
const buildInCommands = await prisma.buildInCommands.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more BuildInCommands and only return the `Id`
const buildInCommandsWithIdOnly = await prisma.buildInCommands.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 BuildInCommands.
Arguments to update or create a BuildInCommands.
Fields of the BuildInCommands model