-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Labels:None
Description
The Definition for the aggregation pipeline operator $arrayElemAt is incomplete. It explains how <idx> is handled if it is positive and how it is handled if it is negative. It does not explain how zero is handled. The first bullet point should read "If zero or positive, ..."
This is ultimately a minor omission, since the Behavior section includes an example where idx is 0.