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