Allows you to perform aggregations operations on a GuildAutoLiveRoleFilter.
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 GuildAutoLiveRoleFilters.
Note, that providing undefined is treated as the value not being there.
Read more here: https://pris.ly/d/null-undefined
Optionalargs: Subset<T, GuildAutoLiveRoleFilterCountArgs<DefaultArgs>>Arguments to filter GuildAutoLiveRoleFilters to count.
Create a GuildAutoLiveRoleFilter.
Arguments to create a GuildAutoLiveRoleFilter.
Create many GuildAutoLiveRoleFilters.
Optionalargs: SelectSubset<T, GuildAutoLiveRoleFilterCreateManyArgs<ExtArgs>>Arguments to create many GuildAutoLiveRoleFilters.
Create many GuildAutoLiveRoleFilters and returns the data saved in the database.
Optionalargs: SelectSubset<T, GuildAutoLiveRoleFilterCreateManyAndReturnArgs<ExtArgs>>Arguments to create many GuildAutoLiveRoleFilters.
// Create many GuildAutoLiveRoleFilters
const guildAutoLiveRoleFilter = await prisma.guildAutoLiveRoleFilter.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many GuildAutoLiveRoleFilters and only return the `dbId`
const guildAutoLiveRoleFilterWithDbIdOnly = await prisma.guildAutoLiveRoleFilter.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 GuildAutoLiveRoleFilter.
Arguments to delete one GuildAutoLiveRoleFilter.
Delete zero or more GuildAutoLiveRoleFilters.
Optionalargs: SelectSubset<T, GuildAutoLiveRoleFilterDeleteManyArgs<ExtArgs>>Arguments to filter GuildAutoLiveRoleFilters to delete.
Find the first GuildAutoLiveRoleFilter 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, GuildAutoLiveRoleFilterFindFirstArgs<ExtArgs>>Arguments to find a GuildAutoLiveRoleFilter
Find the first GuildAutoLiveRoleFilter 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, GuildAutoLiveRoleFilterFindFirstOrThrowArgs<ExtArgs>>Arguments to find a GuildAutoLiveRoleFilter
Find zero or more GuildAutoLiveRoleFilters 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, GuildAutoLiveRoleFilterFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
// Get all GuildAutoLiveRoleFilters
const guildAutoLiveRoleFilters = await prisma.guildAutoLiveRoleFilter.findMany()
// Get first 10 GuildAutoLiveRoleFilters
const guildAutoLiveRoleFilters = await prisma.guildAutoLiveRoleFilter.findMany({ take: 10 })
// Only select the `dbId`
const guildAutoLiveRoleFilterWithDbIdOnly = await prisma.guildAutoLiveRoleFilter.findMany({ select: { dbId: true } })
Find zero or one GuildAutoLiveRoleFilter that matches the filter.
Arguments to find a GuildAutoLiveRoleFilter
Find one GuildAutoLiveRoleFilter that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a GuildAutoLiveRoleFilter
Group by GuildAutoLiveRoleFilter.
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 GuildAutoLiveRoleFilter.
Arguments to update one GuildAutoLiveRoleFilter.
Update zero or more GuildAutoLiveRoleFilters.
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 GuildAutoLiveRoleFilters and returns the data updated in the database.
Arguments to update many GuildAutoLiveRoleFilters.
// Update many GuildAutoLiveRoleFilters
const guildAutoLiveRoleFilter = await prisma.guildAutoLiveRoleFilter.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more GuildAutoLiveRoleFilters and only return the `dbId`
const guildAutoLiveRoleFilterWithDbIdOnly = await prisma.guildAutoLiveRoleFilter.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 GuildAutoLiveRoleFilter.
Arguments to update or create a GuildAutoLiveRoleFilter.
// Update or create a GuildAutoLiveRoleFilter
const guildAutoLiveRoleFilter = await prisma.guildAutoLiveRoleFilter.upsert({
create: {
// ... data to create a GuildAutoLiveRoleFilter
},
update: {
// ... in case it already exists, update
},
where: {
// ... the filter for the GuildAutoLiveRoleFilter we want to update
}
})
Fields of the GuildAutoLiveRoleFilter model