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

B4nan / mikro-orm / 542 / 2
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/docs/nokogiri-1.10.4
DEFAULT BRANCH: master
Ran 25 Jul 2019 02:24PM UTC
Files 83
Run time 18s
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

25 Jul 2019 02:16PM UTC coverage: 100.0%. Remained the same
542.2

Pull #76

travis-ci-com

web-flow
feat(core): use knex to generate sql + enable connection pooling [BC]

QueryBuilder now internally uses knex to run all queries. As knex already supports connection pooling, thbis feature comes without any effort. New configuration for pooling is now availableAs knex already supports connection pooling, this feature comes without any effort.

BREAKING CHANGES:
Transactions now require using EM.transactional() method, previous helpers `beginTransaction/commit/rollback` are now removed. All transaction management has been removed from IDatabaseDriver interface, now EM handles this, passing the transaction context (carried by EM, and created by Connection) to all driver methods. New methods on EM exists: `isInTransaction` and `getTransactionContext`.
Because of knex being used as a query runner, there are some minor differences in results of plain sql calls (made by calling connection.execute() with string sql parameter instead of using QueryBuilder). Another difference is in postgre driver, that used to require passing parameters as indexed dollar sign ($1, $2, ...), while now knex requires the placeholder to be simple question mark (?), like in other dialects, so this is now unified with other drivers.

Closes #64
Pull Request #76: feat(core): use knex as query runner + enable connection pooling

1460 of 1460 branches covered (100.0%)

Branch coverage included in aggregate %.

2655 of 2655 relevant lines covered (100.0%)

816.36 hits per line

Source Files on job 542.2
  • Tree
  • List 0
  • Changed 44
  • Source Changed 29
  • Coverage Changed 43
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 628
  • Travis Job 542.2
  • 6965a15c on github
  • Prev Job for on knex (#539.1)
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