bookshelf-modelbase icon indicating copy to clipboard operation
bookshelf-modelbase copied to clipboard

a model base providing some convenient features for building bookshelf models.

Results 19 bookshelf-modelbase issues
Sort by recently updated
recently updated
newest added

Joi package has been deprecated and module is now available as @hapi/joi https://www.npmjs.com/package/joi There is something required to update the depedency?

I need to save a model, in some case, without validating it. Is it possible?

enhancement

`.forge()` enables case-converter(https://github.com/bookshelf/bookshelf/blob/master/lib/plugins/case-converter.js), but `.where()` does not do case convert like `forge()`. https://github.com/bookshelf/bookshelf/blob/b6abda9486b3f06d1ee58aff063c14836f0a2e1d/lib/model.js#L1317-L1319 (.where just call .where on query builder) We should let `findAll` and `findOne` have the same case...

This PR is based on the issue #52. When we're using the `validate`, we're unable to redefine the behavior of properties in the baseValidation. This PR will allow we to...

So I've been able to successfully use the upsert function to update data when querying for a single field, but when passing a has of multiple fields I get the...

I am a fan of this library. :+1: And just may have a neat suggestion for additional functionality. I am using some neat methods that have easened where and join...

Bumps [knex](https://github.com/knex/knex) from 0.20.10 to 2.4.0. Release notes Sourced from knex's releases. 2.4.0 New features: Support partial unique indexes #5316 Make compiling SQL in error message optional #5282 Bug fixes...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...

dependencies

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies