File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ The client supports reading data from InfluxDB using query strings:
108
108
109
109
``` matlab
110
110
% Manually written query
111
- str = 'SELECT temperature FROM weather WHERE temperature > 20 LIMIT 100';
111
+ str = 'SELECT temperature FROM weather WHERE humidity > 60 LIMIT 100';
112
112
result = influxdb.runQuery(str);
113
113
```
114
114
@@ -134,6 +134,16 @@ result = influxdb.query('weather') ...
134
134
.execute();
135
135
```
136
136
137
+ The parameters of a query request can optionally be customized as follows:
138
+
139
+ ``` matlab
140
+ % Customize a query request
141
+ result = influxdb.query('weather') ...
142
+ .database('another_database') ...
143
+ .epoch('m') ...
144
+ .execute();
145
+ ```
146
+
137
147
The result of a query is an object that provides additional functionalities:
138
148
139
149
``` matlab
You can’t perform that action at this time.
0 commit comments