Add docs for addMean
This commit is contained in:
parent
4cc6af2f41
commit
42a412a60a
2 changed files with 39 additions and 1 deletions
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