craigpastro / pgmq-go

A Go (Golang) client for Postgres Message Queue (PGMQ)
MIT License
42 stars 2 forks source link

Fix rows affected in delete and archive #4

Closed craigpastro closed 1 year ago

craigpastro commented 1 year ago

Delete and Archive were always returning 1 even if no rows were affected. This PR fixes that.

codecov[bot] commented 1 year ago

Codecov Report

Merging #4 (553cb53) into main (aaaf242) will increase coverage by 6.86%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   60.37%   67.24%   +6.86%     
==========================================
  Files           1        1              
  Lines         106      116      +10     
==========================================
+ Hits           64       78      +14     
+ Misses         30       27       -3     
+ Partials       12       11       -1     
Files Changed Coverage Δ
pgmq.go 67.24% <100.00%> (+6.86%) :arrow_up: