Hi,
Do you know any query that can be used to get first five elements in the array of the document if the array has more than 20 elements.
Basically 5 is a parameter and it can vary. please advice on this.
ex: itemID,itemlist : [ 1,2,3,4,5,6,7,8,9,10,11,12,13,14]
expected:
itemID, itemlist:[1,2,3,4,5]