Add docs for addMean

This commit is contained in:
David Arendsen 2022-12-30 17:17:36 +01:00
commit 42a412a60a
2 changed files with 39 additions and 1 deletions

View file

@ -7,4 +7,5 @@ On this page you will find the methods you can use in the query builder.
* [addAggregateWindow()](functions/addAggregateWindow.md)
* [addDuplicate()](functions/addDuplicate.md)
* [addGroup()](functions/addGroup.md)
* [addLimit()](functions/addLimit.md)
* [addLimit()](functions/addLimit.md)
* [addMean()](functions/addMean.md)

37
docs/functions/addMean.md Normal file
View 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/)