docs(cli): minor updates to examples
parent
85310e1282
commit
b3be9ded6d
|
|
@ -88,7 +88,7 @@ Use this example to create a simple cache for a single key and value column:
|
|||
|
||||
```bash
|
||||
influxdb3 create last_cache \
|
||||
--database my_test_db \
|
||||
--database DATABASE_NAME \
|
||||
--table my_sensor_table \
|
||||
--key-columns room \
|
||||
--value-columns temp \
|
||||
|
|
@ -103,7 +103,7 @@ This example shows how to configure a more complex cache:
|
|||
|
||||
```bash
|
||||
influxdb3 create last_cache \
|
||||
--database my_test_db \
|
||||
--database DATABASE_NAME \
|
||||
--table my_sensor_table \
|
||||
--key-columns room,sensor_id \
|
||||
--value-columns temp,hum \
|
||||
|
|
|
|||
|
|
@ -47,6 +47,6 @@ influxdb3 create database \
|
|||
|
||||
> [!Tip]
|
||||
> Set the token as an environment variable to simplify repeated commands:
|
||||
> ```bash
|
||||
> export INFLUXDB3_AUTH_TOKEN=YOUR_ADMIN_TOKEN
|
||||
> ```
|
||||
> ```bash
|
||||
> export INFLUXDB3_AUTH_TOKEN=YOUR_ADMIN_TOKEN
|
||||
> ```
|
||||
|
|
|
|||
Loading…
Reference in New Issue