New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: MongoDB Node - added new option to specify fields to parse as ObjectID #4520
base: master
Are you sure you want to change the base?
Conversation
aa89c23
to
93986a2
Compare
Any feedback on whether this can get pushed through or not? Would really help my existing flows to have this feature in the official release. |
Bump |
Any idea to add this feature, I really need this now. Or is there any other workaround ? |
Only workaround I found is to use the MongoDB Atlas Data API. It supports extended json so you can use the $oid syntax. Only thing is that you can't use the mongo node you have to use the http node and manage credentials separately. I really wish they would merge this though it's such a small change based on a preexisting feature but still the PR has been sitting here for months. |
Any progress? I need this :( |
What I did was, I've self hosted the n8n and installed the npm module for mongodb just to use that |
2 years and still we cant use ObjectId, saw many places saying to use $exp, but I only get MongoServerError: Feature not supported |
This adds a new option on the update, insert, findAndUpdate, and findAndReplace operations. The new option allows you to specify a list of fields from the input that should be parsed as ObjectIDs before executing the query. It works identically to the current "Date Fields" option.