docs-v2/content/flux/v0.x/stdlib/sql/_index.md

1014 B

title list_title description aliases menu weight flux/v0.x/tags related introduced
Flux sql package sql package The Flux `sql` package provides tools for working with data in SQL databases such as MySQL, PostgreSQL, Snowflake, SQLite, Microsoft SQL Server, Amazon Athena, Google BigQuery, and more. Import the `sql` package.
/influxdb/v2.0/reference/flux/functions/sql/
/influxdb/v2.0/reference/flux/stdlib/sql/
/influxdb/cloud/reference/flux/stdlib/sql/
flux_0_x_ref
name parent
sql Standard library
11
functions
sql
package
mysql
postgres
/{{< latest "influxdb" >}}/query-data/flux/sql/
0.34.0

The Flux sql package provides functions for working with SQL databases such as:

  • Amazon RDS
  • Athena
  • Google BigQuery
  • CockroachDB
  • MariaDB
  • MySQL
  • Percona
  • PostgreSQL
  • SAP HANA
  • Snowflake
  • Microsoft SQL Server
  • SQLite
  • Vertica

Import the sql package:

import "sql"

Functions

{{< children type="functions" show="pages" >}}