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"]

// Returns 1st

// 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:


1 Like

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