Open ghost opened 2 years ago
I want to build a list of _id objects inside Or operator array based on selected rows in the table.
@MarabiFouad BinData should be a string here
"new BinData(${row._primary_key}
)"
{ "update": "orders", "updates": [ { "q": { _id:{ $in:[\"new BinData(03,\"aCpgBChCHUC1pxBlmRmNsQ==\")\",\"new BinData(03,\"57odwItZ5ka3AqybWRCkXw==\")\"] } }, "u": { "$set": { "Comment.Status": 2 } }, "multi": true } ] }
I still have an issue above code is the evaluated code but it is string and does not work
$in:["new BinData(03,"aCpgBChCHUC1pxBlmRmNsQ==")","new BinData(03,"57odwItZ5ka3AqybWRCkXw==")"] It should look like below $in:[new BinData(03,"aCpgBChCHUC1pxBlmRmNsQ=="),new BinData(03,"57odwItZ5ka3AqybWRCkXw==")]
Re-opening this issue since the user has reported that their issue is not resolved.
mongo 6m usage: 700 assume 50% requirement: 350
Stat | Values |
---|---|
Reach | 350 |
Effort (months) | 0.25 |
Is there an existing issue for this?
Description
When I query MongoDB from Appsmith and try to use BinData the editor does not recognize the function.
Photo provided by discord user Fouad#2407:
I expect BinData to work as intended inside of MongoDB queries.
Steps To Reproduce
new BinData()
during the query.Public Sample App
No response
Version
Cloud 1.6.17