@@ -18,14 +18,14 @@ influxdb3 create table [OPTIONS] \
18
18
19
19
## Options
20
20
21
- | Option | | Description |
22
- | :----- | :-------------- | :--------------------------------------------------------------------------------------- |
23
- | ` -H ` | ` --host ` | Host URL of the running {{< product-name >}} server (default is ` http://127.0.0.1:8181 ` ) |
24
- | ` -d ` | ` --database ` | _ ({{< req >}})_ Name of the database to operate on |
25
- | | ` --token ` | Authentication token |
26
- | | ` --tags ` | _ ({{< req >}})_ Space -separated list of tag columns to include in the table |
27
- | | ` --fields ` | Space -separated list of field columns to include in the table |
28
- | ` -h ` | ` --help ` | Print help information |
21
+ | Option | | Description |
22
+ | :----- | :----------- | :--------------------------------------------------------------------------------------- |
23
+ | ` -H ` | ` --host ` | Host URL of the running {{< product-name >}} server (default is ` http://127.0.0.1:8181 ` ) |
24
+ | ` -d ` | ` --database ` | _ ({{< req >}})_ Name of the database to operate on |
25
+ | | ` --token ` | Authentication token |
26
+ | | ` --tags ` | _ ({{< req >}})_ Comma -separated list of tag columns to include in the table |
27
+ | | ` --fields ` | Comma -separated list of field columns and their types to include in the table |
28
+ | ` -h ` | ` --help ` | Print help information |
29
29
30
30
> [ !Important]
31
31
>
@@ -62,8 +62,8 @@ In the examples below, replace the following:
62
62
63
63
``` bash
64
64
influxdb3 create table \
65
- --tags tag1 tag2 tag3 \
66
- --database DATABASE_NAME
65
+ --tags tag1, tag2, tag3 \
66
+ --database DATABASE_NAME \
67
67
TABLE_NAME
68
68
```
69
69
@@ -73,9 +73,9 @@ influxdb3 create table \
73
73
74
74
``` bash
75
75
influxdb3 create table \
76
- --tags room sensor_id \
77
- --fields temp:float64 hum:float64 co:int64 \
78
- --database DATABASE_NAME
76
+ --tags room, sensor_id \
77
+ --fields temp:float64, hum:float64, co:int64 \
78
+ --database DATABASE_NAME \
79
79
TABLE_NAME
80
80
```
81
81
0 commit comments