Hi there! I'm trying to query my Mongo DB through Metabase in a new native query. But getting the following error.
Sample.find()
--DB name: Test
--Collection: Sample
Hi there! I'm trying to query my Mongo DB through Metabase in a new native query. But getting the following error.
Sample.find()
--DB name: Test
--Collection: Sample
I've found wrapping in brackets works. I don't believe your "find" will work as-is vs creating an aggregation pipeline here.
[
{
$match: {firstName: "Victor" }
},
]