Allows you to perform aggregations operations on a ClientChangelog.
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 ClientChangelogs.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Subset<T, ClientChangelogCountArgs<DefaultArgs>>Arguments to filter ClientChangelogs to count.
Create a ClientChangelog.
Arguments to create a ClientChangelog.
Create many ClientChangelogs.
Optionalargs: SelectSubset<T, ClientChangelogCreateManyArgs<ExtArgs>>Arguments to create many ClientChangelogs.
Create many ClientChangelogs and returns the data saved in the database.
Optionalargs: SelectSubset<T, ClientChangelogCreateManyAndReturnArgs<ExtArgs>>Arguments to create many ClientChangelogs.
// Create many ClientChangelogs
const clientChangelog = await prisma.clientChangelog.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many ClientChangelogs and only return the `dbId`
const clientChangelogWithDbIdOnly = await prisma.clientChangelog.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 ClientChangelog.
Arguments to delete one ClientChangelog.
Delete zero or more ClientChangelogs.
Optionalargs: SelectSubset<T, ClientChangelogDeleteManyArgs<ExtArgs>>Arguments to filter ClientChangelogs to delete.
Find the first ClientChangelog 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, ClientChangelogFindFirstArgs<ExtArgs>>Arguments to find a ClientChangelog
Find the first ClientChangelog 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, ClientChangelogFindFirstOrThrowArgs<ExtArgs>>Arguments to find a ClientChangelog
Find zero or more ClientChangelogs 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, ClientChangelogFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all ClientChangelogs
const clientChangelogs = await prisma.clientChangelog.findMany()
// Get first 10 ClientChangelogs
const clientChangelogs = await prisma.clientChangelog.findMany({ take: 10 })
// Only select the `dbId`
const clientChangelogWithDbIdOnly = await prisma.clientChangelog.findMany({ select: { dbId: true } })
Find zero or one ClientChangelog that matches the filter.
Arguments to find a ClientChangelog
Find one ClientChangelog that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a ClientChangelog
Group by ClientChangelog.
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 ClientChangelog.
Arguments to update one ClientChangelog.
Update zero or more ClientChangelogs.
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 ClientChangelogs and returns the data updated in the database.
Arguments to update many ClientChangelogs.
// Update many ClientChangelogs
const clientChangelog = await prisma.clientChangelog.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more ClientChangelogs and only return the `dbId`
const clientChangelogWithDbIdOnly = await prisma.clientChangelog.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 ClientChangelog.
Arguments to update or create a ClientChangelog.
Fields of the ClientChangelog model