Syncano / syncano-node

Syncano Toolkit for JavaScript development
https://syncano.io
MIT License
62 stars 8 forks source link

Add min method #382

Closed Idered closed 5 years ago

Idered commented 5 years ago

Resolves #18

data.posts.min('likes')

returns lowest value of likes column in posts class

codecov-io commented 5 years ago

Codecov Report

Merging #382 into master will increase coverage by 2.74%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #382      +/-   ##
==========================================
+ Coverage    27.7%   30.45%   +2.74%     
==========================================
  Files          69       80      +11     
  Lines        2122     3484    +1362     
  Branches       23       23              
==========================================
+ Hits          588     1061     +473     
- Misses       1532     2421     +889     
  Partials        2        2