-
Notifications
You must be signed in to change notification settings - Fork 18
[DOC-10871] Add OBJECT_CONCAT2 Function #333
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example provided does not include any arrays of objects as arguments.
Can we please change the example?
An example would be the following query. Which includes an array of objects and an object as the arguments:
select object_concat2({"a":1}, [{"b":2}, {"c":3}, {"d":4}], {"e":5});
Thanks
Got it. Have updated the example. Also, I've replaced the generic a, b, c objects with a flight-related example to maintain consistency with other examples on the page. Made the change for OBJECT_CONCAT() too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
DOC-10871
Added a new OBJECT_CONTACT2 function that takes both plain objects and arrays of objects as inputs.
Preview: https://preview.docs-test.couchbase.com/DOC-10871-object-concat2/server/current/n1ql/n1ql-language-reference/objectfun.html#fn-obj-concat2
Credentials: Preview docs for internal review