Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.5.1, 6.5.0, Cheshire-Cat
-
Untriaged
-
1
-
Unknown
Description
Thanks to Austin Gonyou for reporting this issue:
advise SELECT meta(t).id _id,t.type,branch.branchId
FROM test AS t
UNNEST t.branches AS branch
WHERE t.type is valued AND branch.branchId > (t.currentBranch-2) order by branch.lastUpdateOn
Returns:
CREATE INDEX adv_ALL_branches_branchId_type_2 ON `test`(ALL ARRAY `branch`.`branchId` FOR branch IN `branches` END,`type`,2)