Add docs for addMean
This commit is contained in:
parent
4cc6af2f41
commit
42a412a60a
2 changed files with 39 additions and 1 deletions
|
|
@ -8,3 +8,4 @@ On this page you will find the methods you can use in the query builder.
|
||||||
* [addDuplicate()](functions/addDuplicate.md)
|
* [addDuplicate()](functions/addDuplicate.md)
|
||||||
* [addGroup()](functions/addGroup.md)
|
* [addGroup()](functions/addGroup.md)
|
||||||
* [addLimit()](functions/addLimit.md)
|
* [addLimit()](functions/addLimit.md)
|
||||||
|
* [addMean()](functions/addMean.md)
|
||||||
37
docs/functions/addMean.md
Normal file
37
docs/functions/addMean.md
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Flux Query Builder Docs
|
||||||
|
|
||||||
|
## Functions » addMean()
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Data type</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>column</td>
|
||||||
|
<td>string</td>
|
||||||
|
<td>Column to use to compute means. Default is '_value'.</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```php
|
||||||
|
->addMean('test')
|
||||||
|
```
|
||||||
|
|
||||||
|
This will result in the following Flux function part:
|
||||||
|
|
||||||
|
```
|
||||||
|
|> mean(column: "test")
|
||||||
|
```
|
||||||
|
|
||||||
|
### Extra resources
|
||||||
|
|
||||||
|
* [Flux documentation](https://docs.influxdata.com/flux/v0.x/stdlib/universe/mean/)
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue