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