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