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