Hello,
Is there a way to get last x values from an array?
Let’s say I have [‘a’,‘b’,‘c’,‘d’,‘e’,‘f’,‘g’].
Getting the first x can be done with array slicing [0:3], but how do I get the last x?
I’ve tried [-1:-3] and [-1:3], but they did not work. Only workaround I’ve found so far is
select [anArray[-1], anArray[-2], anArray[-3]] from aBucket