Work with Flux data types
A Flux data type defines the set of possible values and operations. Flux is statically typed, meaning data types are never explicitly declared as part of the Flux syntax (except as part of a builtin statement) and types are inferred from how a variable is used.
Flux data types are organized into the following:
Basic types
All Flux data types are constructed from basic types: boolean, bytes, duration, string, time, float, integer, uintegers, and null.
Composite types
Flux composite types are types constructed from basic types. Flux supports the following composite types: record, array, dictionary, function.
Dynamic types
A dynamic type is a wrapper for data whose type is not known until runtime. Dynamic types help when working with data from external sources (like JSON) that support types that do not have an equivalent Flux type.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.