How do you simply print result?

It’s been more than a year since I started using influxdb but could not figure out how to actually print values. for example, I’m reading array documentation and there is an example;

arr = ["1st", "2nd", "3rd"]

arr[0]
// Returns 1st

arr[2]
// Returns 3rd

How do I actually execute this and see the result value myself? I’ve tried influxcli but I don’t think it is possible, right?

Hello @gorkem,
Unfortunately Flux only supports table streams. I believe this was once supported in the REPL.
Please comment on the following issues:

Thanks!

1 Like

@gorkem,
However you can use array.from() function to generate a table and show the result that way.