Description
As of 7.6.3, example 3 here: https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/sequenceops.html#examples will need to change.
The entire VALUES clause (so key, value & options) are now considered a single "document" and therefore generating the next value for a sequence multiple times within a values clause will generate the same value.
Attachments
Issue Links
- is caused by
-
MB-62543 Multiple increments for sequences used in VALUES clauses.
-
- Resolved
-