You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/shared/influxdb3-get-started/query.md
+53-13Lines changed: 53 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -13,19 +13,59 @@ the [update on InfluxDB 3 Core’s 72-hour limitation](https://www.influxdata.co
13
13
> [!Note]
14
14
> Flux, the language introduced in InfluxDB v2, is **not** supported in InfluxDB 3.
15
15
16
-
The quickest way to get started querying is to use the `influxdb3` CLI
17
-
(which uses the Flight SQL API over HTTP2).
18
-
19
-
The `query` subcommand includes options to help ensure that the right database is queried with the correct permissions. Only the `--database` option is required, but depending on your specific setup, you may need to pass other options, such as host, port, and token.
20
-
21
-
| Option | Description | Required |
22
-
|---------|-------------|--------------|
23
-
|`--host`| The host URL of the server [default: `http://127.0.0.1:8181`] to query | No |
24
-
|`--database`| The name of the database to operate on | Yes |
25
-
|`--token`| The authentication token for the {{% product-name %}} server | No |
26
-
|`--language`| The query language of the provided query string [default: `sql`][possible values: `sql`, `influxql`]| No |
27
-
|`--format`| The format in which to output the query [default: `pretty`][possible values: `pretty`, `json`, `jsonl`, `csv`, `parquet`]| No |
0 commit comments