add custom SQL count support #609

Merged
lunny merged 2 commits from lunny/count_SQL_support into master 2017-06-06 06:55:00 +00:00
Owner

This PR implemented Count with custom SQL.

This PR implemented Count with custom SQL.
codecov-io commented 2017-06-06 06:42:52 +00:00 (Migrated from github.com)
Author
Owner

Codecov Report

Merging #609 into master will increase coverage by 0.02%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #609      +/-   ##
==========================================
+ Coverage   49.84%   49.87%   +0.02%     
==========================================
  Files          31       31              
  Lines        6939     6941       +2     
==========================================
+ Hits         3459     3462       +3     
+ Misses       3020     3019       -1     
  Partials      460      460
Impacted Files Coverage Δ
session_sum.go 66.27% <50%> (+1.99%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a4a8e4a...4a9a233. Read the comment docs.

# [Codecov](https://codecov.io/gh/go-xorm/xorm/pull/609?src=pr&el=h1) Report > Merging [#609](https://codecov.io/gh/go-xorm/xorm/pull/609?src=pr&el=desc) into [master](https://codecov.io/gh/go-xorm/xorm/commit/a4a8e4a739ec3d12fd603c98707fd365f9121e42?src=pr&el=desc) will **increase** coverage by `0.02%`. > The diff coverage is `50%`. [![Impacted file tree graph](https://codecov.io/gh/go-xorm/xorm/pull/609/graphs/tree.svg?width=650&height=150&src=pr&token=yB5nO1krEe)](https://codecov.io/gh/go-xorm/xorm/pull/609?src=pr&el=tree) ```diff @@ Coverage Diff @@ ## master #609 +/- ## ========================================== + Coverage 49.84% 49.87% +0.02% ========================================== Files 31 31 Lines 6939 6941 +2 ========================================== + Hits 3459 3462 +3 + Misses 3020 3019 -1 Partials 460 460 ``` | [Impacted Files](https://codecov.io/gh/go-xorm/xorm/pull/609?src=pr&el=tree) | Coverage Δ | | |---|---|---| | [session\_sum.go](https://codecov.io/gh/go-xorm/xorm/pull/609?src=pr&el=tree#diff-c2Vzc2lvbl9zdW0uZ28=) | `66.27% <50%> (+1.99%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/go-xorm/xorm/pull/609?src=pr&el=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/go-xorm/xorm/pull/609?src=pr&el=footer). Last update [a4a8e4a...4a9a233](https://codecov.io/gh/go-xorm/xorm/pull/609?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
Sign in to join this conversation.
No description provided.