Skip to content

Commit

Permalink
Bump knex from 2.4.2 to 2.5.1 (#2472)
Browse files Browse the repository at this point in the history
* Bump knex from 2.4.2 to 2.5.1

Bumps [knex](https://github.com/knex/knex) from 2.4.2 to 2.5.1.
- [Release notes](https://github.com/knex/knex/releases)
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md)
- [Commits](knex/knex@2.4.2...2.5.1)

---
updated-dependencies:
- dependency-name: knex
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Add missing except() method

Closes #2474

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jürg Lehni <[email protected]>
  • Loading branch information
dependabot[bot] and lehni authored Jul 13, 2023
1 parent cc70b0e commit 8e68249
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 37 deletions.
4 changes: 4 additions & 0 deletions lib/queryBuilder/QueryBuilderBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ class QueryBuilderBase extends QueryBuilderOperationSupport {
return this.addOperation(new KnexOperation('intersect'), args);
}

except(...args) {
return this.addOperation(new KnexOperation('except'), args);
}

having(...args) {
return this.addOperation(new KnexOperation('having'), args);
}
Expand Down
60 changes: 23 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions typings/objection/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,7 @@ declare namespace Objection {
union: UnionMethod<this>;
unionAll: UnionMethod<this>;
intersect: SetOperationsMethod<this>;
except: SetOperationsMethod<this>;

with: WithMethod<this>;
withRecursive: WithMethod<this>;
Expand Down

0 comments on commit 8e68249

Please sign in to comment.