Allows you to perform aggregations operations on a Guilds.
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 Guilds.
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, GuildsCountArgs>Arguments to filter Guilds to count.
Create a Guilds.
Arguments to create a Guilds.
Create many Guilds.
Optional
args: SelectSubset<T, GuildsCreateManyArgs<ExtArgs>>Arguments to create many Guilds.
Create many Guilds and returns the data saved in the database.
Optional
args: SelectSubset<T, GuildsCreateManyAndReturnArgs<ExtArgs>>Arguments to create many Guilds.
// Create many Guilds
const guilds = await prisma.guilds.createManyAndReturn({
data: [
// ... provide data here
]
})
// Create many Guilds and only return the `Id`
const guildsWithIdOnly = await prisma.guilds.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 Guilds.
Arguments to delete one Guilds.
Delete zero or more Guilds.
Optional
args: SelectSubset<T, GuildsDeleteManyArgs<ExtArgs>>Arguments to filter Guilds to delete.
Find the first Guilds 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, GuildsFindFirstArgs<ExtArgs>>Arguments to find a Guilds
Find the first Guilds 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, GuildsFindFirstOrThrowArgs<ExtArgs>>Arguments to find a Guilds
Find zero or more Guilds 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, GuildsFindManyArgs<ExtArgs>>Arguments to filter and select certain fields only.
Find zero or one Guilds that matches the filter.
Arguments to find a Guilds
Find one Guilds that matches the filter or throw an error with error.code='P2025'
if no matches were found.
Arguments to find a Guilds
Group by Guilds.
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 Guilds.
Arguments to update one Guilds.
Update zero or more Guilds.
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 Guilds and returns the data updated in the database.
Arguments to update many Guilds.
// Update many Guilds
const guilds = await prisma.guilds.updateManyAndReturn({
where: {
// ... provide filter here
},
data: [
// ... provide data here
]
})
// Update zero or more Guilds and only return the `Id`
const guildsWithIdOnly = await prisma.guilds.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 Guilds.
Arguments to update or create a Guilds.
Fields of the Guilds model