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

B4nan / mikro-orm / 528
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/docs/nokogiri-1.10.4
DEFAULT BRANCH: master
Ran 15 Jul 2019 09:21PM UTC
Jobs 5
Files 83
Run time 3min
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
528

push

travis-ci-com

Martin Adamek
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

1441 of 1441 branches covered (100.0%)

Branch coverage included in aggregate %.

2638 of 2638 relevant lines covered (100.0%)

4102.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 528.1 15 Jul 2019 09:21PM UTC 0
100.0
Travis Job 528.1
2 528.2 15 Jul 2019 09:20PM UTC 0
100.0
Travis Job 528.2
3 528.3 15 Jul 2019 09:22PM UTC 0
100.0
Travis Job 528.3
4 528.4 15 Jul 2019 09:23PM UTC 0
100.0
Travis Job 528.4
5 528.5 15 Jul 2019 09:23PM UTC 0
100.0
Travis Job 528.5
Source Files on build 528
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #528
  • a1ae86da on github
  • Prev Build on knex (#526)
  • Next Build on knex (#541)
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