Hi everyone, Quick question about the behavior of the LIMIT operator. Here is my playground (using 3.0.12):
FOR i IN [1,2,3,4] FOR j IN APPEND([i],[5,6,7]) RETURN j returns [ 1, 5, 6, 7, 2, 5, 6, 7, 3, 5, 6, 7, 4, 5, 6, 7 ] as expected. FOR i IN [1,2,3,4] FOR j IN APPEND([i],[5,6,7]) LIMIT 2,4 RETURN j returns [ 6, 7, 2, 5 ] still as expected FOR i IN [1,2,3,4] FOR j IN APPEND([i],[5,6,7]) LIMIT 3,4 RETURN j returns [ 7, 2, 5, 6 ] ... everything is going well! But then FOR i IN [1,2,3,4] FOR j IN APPEND([i],[5,6,7]) LIMIT 4,4 RETURN j returns... [] where I expected to get [ 2, 5, 6, 7 ] What's the reason for that? Thanks in advance, Thomas -- You received this message because you are subscribed to the Google Groups "ArangoDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
