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