Allows you to perform aggregations operations on a VanityAnalyticsLatest30Day.
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 VanityAnalyticsLatest30Days.
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, VanityAnalyticsLatest30DayCountArgs>Arguments to filter VanityAnalyticsLatest30Days to count.
Create a VanityAnalyticsLatest30Day.
Arguments to create a VanityAnalyticsLatest30Day.
Create many VanityAnalyticsLatest30Days.
Optional
args: SelectSubset<T, VanityAnalyticsLatest30DayCreateManyArgs<ExtArgs>>Arguments to create many VanityAnalyticsLatest30Days.
Create many VanityAnalyticsLatest30Days and returns the data saved in the database.
Optional
args: SelectSubset<T, VanityAnalyticsLatest30DayCreateManyAndReturnArgs<ExtArgs>>Arguments to create many VanityAnalyticsLatest30Days.
// Create many VanityAnalyticsLatest30Days
const vanityAnalyticsLatest30Day = await prisma.vanityAnalyticsLatest30Day.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many VanityAnalyticsLatest30Days and only return the `Id`
const vanityAnalyticsLatest30DayWithIdOnly = await prisma.vanityAnalyticsLatest30Day.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 VanityAnalyticsLatest30Day.
Arguments to delete one VanityAnalyticsLatest30Day.
Delete zero or more VanityAnalyticsLatest30Days.
Optional
args: SelectSubset<T, VanityAnalyticsLatest30DayDeleteManyArgs<ExtArgs>>Arguments to filter VanityAnalyticsLatest30Days to delete.
Find the first VanityAnalyticsLatest30Day 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, VanityAnalyticsLatest30DayFindFirstArgs<ExtArgs>>Arguments to find a VanityAnalyticsLatest30Day
Find the first VanityAnalyticsLatest30Day 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, VanityAnalyticsLatest30DayFindFirstOrThrowArgs<ExtArgs>>Arguments to find a VanityAnalyticsLatest30Day
Find zero or more VanityAnalyticsLatest30Days 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, VanityAnalyticsLatest30DayFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all VanityAnalyticsLatest30Days
const vanityAnalyticsLatest30Days = await prisma.vanityAnalyticsLatest30Day.findMany()
// Get first 10 VanityAnalyticsLatest30Days
const vanityAnalyticsLatest30Days = await prisma.vanityAnalyticsLatest30Day.findMany({ take: 10 })
// Only select the `Id`
const vanityAnalyticsLatest30DayWithIdOnly = await prisma.vanityAnalyticsLatest30Day.findMany({ select: { Id: true } })
Find zero or one VanityAnalyticsLatest30Day that matches the filter.
Arguments to find a VanityAnalyticsLatest30Day
Find one VanityAnalyticsLatest30Day that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a VanityAnalyticsLatest30Day
Group by VanityAnalyticsLatest30Day.
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 VanityAnalyticsLatest30Day.
Arguments to update one VanityAnalyticsLatest30Day.
Update zero or more VanityAnalyticsLatest30Days.
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 VanityAnalyticsLatest30Days and returns the data updated in the database.
Arguments to update many VanityAnalyticsLatest30Days.
// Update many VanityAnalyticsLatest30Days
const vanityAnalyticsLatest30Day = await prisma.vanityAnalyticsLatest30Day.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more VanityAnalyticsLatest30Days and only return the `Id`
const vanityAnalyticsLatest30DayWithIdOnly = await prisma.vanityAnalyticsLatest30Day.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 VanityAnalyticsLatest30Day.
Arguments to update or create a VanityAnalyticsLatest30Day.
// Update or create a VanityAnalyticsLatest30Day
const vanityAnalyticsLatest30Day = await prisma.vanityAnalyticsLatest30Day.upsert({
create: {
// ... data to create a VanityAnalyticsLatest30Day
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the VanityAnalyticsLatest30Day we want to update
}
})
Fields of the VanityAnalyticsLatest30Day model