hi, is it possible for prisma to run `aggregate` w...
# mongodb
t
hi, is it possible for prisma to run
aggregate
with
sample
? Prisma document says no. If that's the case, is there a way for me to run raw query? https://docs.mongodb.com/manual/reference/operator/aggregation/sample/
r
@Tri Nguyen 👋 Raw queries are not supported with the MongoDB connector at the moment. You would need to use the
mongodb
package to make such queries for the time being.
t
so I would assume that
aggregate
with
sample
is not supported also, right?
r
Not yet.