• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

coderhaoxin / pg-then
95%

Build:
DEFAULT BRANCH: master
Repo Added 02 Jun 2015 03:09PM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 7-stream
  • dev
  • fix-excessive-connections
  • fix-issue-6
  • master
  • v1.0.0
  • v1.1.0
  • v1.2.0
  • v1.2.1

pending completion
46

Pull #18

travis-ci

bryanburgers
Add interface to run queries inside a transaction

Add a `transactional` method to both the pg.Pool and pg.Client classes.
This `transational` method takes a promise-returning function and runs
it inside a transaction.

If promise that results from that function resolves, the transaction
will be committed. If the promise that results from that function
rejects, the transaction will be rolled back.

Fixes #17
Pull Request #18: Add interface to run queries inside a transaction

58 of 58 new or added lines in 1 file covered. (100.0%)

132 of 139 relevant lines covered (94.96%)

18.96 hits per line

Relevant lines Covered
Build:
Build:
139 RELEVANT LINES 132 COVERED LINES
18.96 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
46 master Add interface to run queries inside a transaction Add a `transactional` method to both the pg.Pool and pg.Client classes. This `transational` method takes a promise-returning function and runs it inside a transaction. If promise that results fro... Pull #18 30 Mar 2016 05:40PM UTC bryanburgers travis-ci pending completion  
45 master Add interface to run queries inside a transaction Add a `transactional` method to both the pg.Pool and pg.Client classes. This `transational` method takes a promise-returning function and runs it inside a transaction. If promise that results fro... Pull #18 30 Mar 2016 12:06PM UTC bryanburgers travis-ci pending completion  
44 master Add interface to run queries inside a transaction Add a `transactional` method to both the pg.Pool and pg.Client classes. This `transational` method takes a promise-returning function and runs it inside a transaction. If promise that results fro... Pull #18 29 Mar 2016 06:52PM UTC bryanburgers travis-ci pending completion  
43 master Add interface to run queries inside a transaction Add a `transactional` method to both the pg.Pool and pg.Client classes. This `transational` method takes a promise-returning function and runs it inside a transaction. If promise that results fro... Pull #18 29 Mar 2016 06:43PM UTC bryanburgers travis-ci pending completion  
42 master mention pg-rxjs push 13 Jan 2016 01:47AM UTC coderhaoxin travis-ci pending completion  
41 v1.2.1 v1.2.1 push 25 Nov 2015 01:22AM UTC coderhaoxin travis-ci pending completion  
40 master v1.2.1 push 25 Nov 2015 01:21AM UTC coderhaoxin travis-ci pending completion  
39 master Switch to emit errors through the output stream. closes #13 This was emitting errors back through the source stream causing stack overflows. Add a test for correct error handling. The overflow will kill the test on the 1.2.0 of `index.js`. push 25 Nov 2015 01:16AM UTC coderhaoxin travis-ci pending completion  
38 master Switch to emit errors through the output stream. This was emitting errors back through the source stream causing stack overflows. Add a test for correct error handling. The overflow will kill the test on the 1.2.0 of `index.js`. Pull #13 24 Nov 2015 11:18PM UTC jamesgorman2 travis-ci pending completion  
37 master Publish using "files" field instead of .npmignore Pull #12 23 Nov 2015 04:25PM UTC motiz88 travis-ci pending completion  
See All Builds (39)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc