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

coderhaoxin / pg-then / 44
95%

Build:
DEFAULT BRANCH: master
Ran 29 Mar 2016 06:52PM UTC
Jobs 2
Files 1
Run time 14s
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
44

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

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

112 of 120 relevant lines covered (93.33%)

4.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
100.0
index.js

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
index.js
Jobs
ID Job ID Ran Files Coverage
1 44.1 29 Mar 2016 06:52PM UTC 0
93.33
Travis Job 44.1
2 44.2 29 Mar 2016 06:52PM UTC 0
93.33
Travis Job 44.2
Source Files on build 44
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #44
  • 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