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

coderhaoxin / pg-then / 46
95%

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

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

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
index.js
Jobs
ID Job ID Ran Files Coverage
1 46.1 30 Mar 2016 05:40PM UTC 0
94.96
Travis Job 46.1
2 46.2 30 Mar 2016 05:40PM UTC 0
94.96
Travis Job 46.2
Source Files on build 46
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #46
  • Pull Request #18
  • PR Base - master (#42)
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

© 2025 Coveralls, Inc