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

coderhaoxin / pg-then / 46 / 2
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 30 Mar 2016 05:40PM UTC
Files 1
Run time 0s
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

30 Mar 2016 05:38PM UTC coverage: 94.964% (-0.1%) from 95.062%
46.2

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

132 of 139 relevant lines covered (94.96%)

9.48 hits per line

Source Files on job 46.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 46
  • Travis Job 46.2
  • bb2b1727 on github
  • Prev Job for on master (#42.2)
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