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

B4nan / mikro-orm
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/docs/nokogiri-1.10.4
DEFAULT BRANCH: master
Repo Added 04 Jun 2018 09:56PM UTC
Files 82
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

LAST BUILD ON BRANCH knex
branch: knex
CHANGE BRANCH
x
Reset
  • knex
  • assign-fix
  • auto-flush
  • cascade-merge
  • class-name
  • cli
  • codeclimate
  • config
  • context
  • dependabot/bundler/docs/nokogiri-1.10.4
  • dependabot/npm_and_yarn/fstream-1.0.12
  • dependabot/npm_and_yarn/lodash.template-4.5.0
  • dev
  • drivers
  • ent-gen
  • entities-array
  • entity
  • find-options
  • fk
  • getter
  • join-cond
  • knex-schema
  • knex-schema-update
  • lint
  • lint-new-lines
  • locking
  • map
  • master
  • metadata
  • node12
  • one-to-one
  • oninit
  • orphan-removal
  • postgres
  • qb-left-join
  • query-expressions
  • rc
  • renovate/configure
  • renovate/docker-mongo-3.x
  • renovate/docker-postgres-11.x
  • renovate/fs-extra-7.x
  • renovate/fs-extra-8.x
  • renovate/globby-10.x
  • renovate/husky-2.x
  • renovate/husky-3.x
  • renovate/lint-staged-9.x
  • renovate/major-commitlint-monorepo
  • renovate/rimraf-3.x
  • renovate/ts-morph-2.x
  • renovate/ts-morph-3.x
  • rm
  • schema
  • smart-query
  • uow
  • v0.1.1
  • v0.10.0
  • v0.10.1
  • v0.10.2
  • v0.10.3
  • v0.10.4
  • v0.10.5
  • v0.10.6
  • v0.10.7
  • v0.10.8
  • v0.10.9
  • v0.2.0
  • v0.2.1
  • v0.2.2
  • v0.2.3
  • v0.3.0
  • v0.3.1
  • v0.3.2
  • v0.3.3
  • v0.3.4
  • v0.3.5
  • v0.4.0
  • v0.5.0
  • v0.5.1
  • v0.5.2
  • v0.5.3
  • v0.5.4
  • v0.5.5
  • v0.5.6
  • v0.6.0
  • v0.6.1
  • v0.6.2
  • v0.6.3
  • v0.6.4
  • v0.6.5
  • v0.6.6
  • v0.6.7
  • v0.6.8
  • v0.7.0
  • v0.7.1
  • v0.7.2
  • v0.7.3
  • v0.7.4
  • v0.8.0
  • v0.8.1
  • v0.8.2
  • v0.9.0
  • v0.9.1
  • v0.9.2
  • v0.9.3
  • v0.9.4
  • v0.9.5
  • v0.9.6
  • v0.9.7
  • v0.9.8
  • v0.9.9
  • v1.0.0
  • v1.0.1
  • v1.0.2
  • v1.0.3
  • v1.1.0
  • v1.1.1
  • v1.2.0
  • v1.2.1
  • v1.2.2
  • v1.2.3
  • v2.0.0
  • v2.0.0-rc
  • v2.0.1
  • v2.0.2
  • v2.0.3
  • v2.1.0
  • v2.1.1
  • v2.2.0
  • v2.2.1
  • v2.2.2
  • v2.3.0
  • v2.3.1
  • v2.3.2
  • v2.4.0
  • v2.5.0
  • v2.6.0
  • v2.7.0
  • v2.7.1
  • v2.7.2
  • v2.7.3
  • v2.7.4
  • v2.7.5
  • v2.7.6
  • vanilla-js

pending completion
542

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 %.

324 of 324 new or added lines in 22 files covered. (100.0%)

2655 of 2655 relevant lines covered (100.0%)

4081.78 hits per line

Relevant lines Covered
Build:
Build:
2655 RELEVANT LINES 2655 COVERED LINES
4081.78 HITS PER LINE
Source Files on knex
  • List 0
  • Changed 44
  • Source Changed 29
  • Coverage Changed 44
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
542 knex 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 ... Pull #76 25 Jul 2019 02:21PM UTC web-flow travis-ci-com pending completion  
541 knex 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 ... push 25 Jul 2019 02:19PM UTC Martin Adamek travis-ci-com pending completion  
529 knex 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 ... Pull #76 15 Jul 2019 09:25PM UTC web-flow travis-ci-com pending completion  
528 knex 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 ... push 15 Jul 2019 09:20PM UTC Martin Adamek travis-ci-com pending completion  
527 knex 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 ... Pull #76 15 Jul 2019 09:14PM UTC web-flow travis-ci-com pending completion  
526 knex 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 ... push 15 Jul 2019 09:11PM UTC Martin Adamek travis-ci-com pending completion  
524 knex 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 ... Pull #76 13 Jul 2019 10:26AM UTC web-flow travis-ci-com pending completion  
523 knex 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 ... push 13 Jul 2019 10:24AM UTC Martin Adamek travis-ci-com pending completion  
522 knex 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 ... Pull #76 13 Jul 2019 10:08AM UTC web-flow travis-ci-com pending completion  
521 knex 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 ... push 13 Jul 2019 09:59AM UTC Martin Adamek travis-ci-com pending completion  
See All Builds (754)
  • Repo on GitHub
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