Merge branch 'master' into jstirnaman/linting-cleanup

pull/5530/head
Jason Stirnaman 2024-07-23 15:38:55 -05:00 committed by GitHub
commit fd6307b8d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ The [`influx` CLI](/influxdb/v2/reference/cli/influx/) provides an [InfluxQL she
3. Execute an InfluxQL query inside the InfluxQL shell.
```sql
SELECT used_percent FROM example-db.example-rp.example-measurement WHERE host=host1
SELECT used_percent FROM "example-db"."example-rp"."example-measurement" WHERE host=host1
```
For more information, see how to [use the InfluxQL shell](/influxdb/v2/tools/influxql-shell/). For more information about DBRP mappings, see [Manage DBRP mappings](/influxdb/v2/query-data/influxql/dbrp/).
@ -105,7 +105,7 @@ all InfluxDB 1.x client libraries and integrations in InfluxDB {{< current-versi
```sh
curl --get http://localhost:8086/query?db=example-db \
--header "Authorization: Token YourAuthToken" \
--data-urlencode "q=SELECT used_percent FROM example-db.example-rp.example-measurement WHERE host=host1"
--data-urlencode "q=SELECT used_percent FROM \"example-db\".\"example-rp\".\"example-measurement\" WHERE host=host1"
```
By default, the `/query` compatibility endpoint returns results in **JSON**.