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