We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97d4453 commit 7cbe32bCopy full SHA for 7cbe32b
influxdb_client_3/readme.MD
@@ -52,8 +52,16 @@ client.write(point)
52
53
## Querying with SQL
54
```python
55
-sql = "select * from measurement"
56
-reader = client.query(sql_query=sql)
+query = "select * from measurement"
+reader = client.query(query=query, language="sql")
57
+table = reader.read_all()
58
+print(table.to_pandas().to_markdown())
59
+```
60
+
61
+## Querying with influxql
62
+```python
63
64
+reader = client.query(query=query, language="influxql")
65
table = reader.read_all()
66
print(table.to_pandas().to_markdown())
67
```
0 commit comments