mirror of
https://github.com/knex/knex.git
synced 2025-12-30 00:30:14 +00:00
Document the shiny new 'avg' aggregate function
This commit is contained in:
parent
0bf4044b74
commit
3567f504dd
@ -902,6 +902,12 @@ knex.transaction(function(t) {
|
||||
Retrieve the sum of the values of a given <b>column</b>.
|
||||
</p>
|
||||
|
||||
<p id="Builder-avg">
|
||||
<b class="header">avg</b><code>.avg(column)</code>
|
||||
<br />
|
||||
Retrieve the average of the values of a given <b>column</b>.
|
||||
</p>
|
||||
|
||||
<p id="Builder-increment">
|
||||
<b class="header">increment</b><code>.increment(column, amount)</code>
|
||||
<br />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user