knex-with-relations

A Knex plugin for batch loading table relations.

MIT License

Downloads
144
Stars
14
Committers
2
knex-with-relations - v2.0.1 Latest Release

Published by acro5piano 12 months ago

knex-with-relations -

Published by acro5piano over 1 year ago

v2.0.0 includes:

  • Breaking : .withRelations method was changed to .withHasManyRelation.
  • .withHasOneRelation method is added
  • { as?: string } option is added to modify the key name of the result
  • throw an error if relation column was not loaded on runtime
knex-with-relations - v0.0.3

Published by acro5piano almost 2 years ago

What's changed

  • Fix built files

Full Changelog: https://github.com/acro5piano/knex-with-relations/compare/v0.0.2...v0.0.3

knex-with-relations - v0.0.2

Published by acro5piano almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/acro5piano/knex-with-relations/commits/v0.0.2

Package Rankings
Top 12.54% on Npmjs.org