let’s say you want to do a query from a id.
- Choose the
Findoperation - Choose the
Collectionyou want to get data from - and write the expression like:
{ "$expr": { "$eq": ["$_id", { "$toObjectId": "{{$json["someId"]}}" }] } }
this expression will convert a string to a ObjectId.
@gravitoad do you need something different? Just let me know.