shaoner / ziti

MySQL ORM for Node.js
http://ziti.ewdl.org/
MIT License
3 stars 0 forks source link

Support for additional operations: sum, min, max, count, increment, decrement #1

Closed shaoner closed 9 years ago

shaoner commented 9 years ago
Model# Description
.sum(column: string) retrieve the total sum of the given column
.min(column: string) retrieve the minimum value of the given column
.max(column: string) retrieve the maximum value of the given column
.count() retrieve the number of column rows
shaoner commented 9 years ago

See e84217492c0a35bd2fc671bb24f7855953c9f62b