workers-qb

Zero dependencies Query Builder for Cloudflare Workers

MIT License

Downloads
4.3K
Stars
187
Committers
2

Bot releases are hidden (Show)

workers-qb - v1.1.0 Latest Release

Published by G4brym over 1 year ago

workers-qb - v1.0.2

Published by G4brym over 1 year ago

What's Changed

Full Changelog: https://github.com/G4brym/workers-qb/compare/v1.0.1...v1.0.2

workers-qb - v1.0.1

Published by G4brym over 1 year ago

What's Changed

Full Changelog: https://github.com/G4brym/workers-qb/compare/v1.0.0...v1.0.1

workers-qb - v1.0.0

Published by G4brym over 1 year ago

Breaking Changes

  • For upgrading you must append .execute() at the end of every query, read more here

What's Changed

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.12...v1.0.0

workers-qb - v0.1.12

Published by G4brym over 1 year ago

What's Changed

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.11...v0.1.12

workers-qb - v0.1.11

Published by G4brym over 1 year ago

Fixes

  • Fix D1 insert() to respect response schema

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.10...v0.1.11

workers-qb - v0.1.10

Published by G4brym over 1 year ago

Breaking Changes

  • Simplified .insert()response format to make results a single object when inserting a single record
    • If you are using .insert() with the returning option, and inserting a single record, you will be required to update the code from const user = inserted.results[0] into const user = inserted.results
    • If you are inserting multiple record at once or not using the returning option, no change is required from you

Fixes

  • Fix Raw parameter from being sent to the database as an argument

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.9...v0.1.10

workers-qb - v0.1.9

Published by G4brym over 1 year ago

What's Changed

  • Fix requiring node_compat=true when using D1 only

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.8...v0.1.9

workers-qb - v0.1.8

Published by G4brym over 1 year ago

What's Changed

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.7...v0.1.8

workers-qb - v0.1.7

Published by G4brym over 1 year ago

What's Changed

  • Improve automatic imports

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.6...v0.1.7

workers-qb - v0.1.6

Published by G4brym over 1 year ago

What's Changed

  • Add bulk insert

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.5...v0.1.6

workers-qb - v0.1.5

Published by G4brym over 1 year ago

What's Changed

  • Fix Raw class not being exported

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.4...v0.1.5

workers-qb - v0.1.4

Published by G4brym over 1 year ago

What's Changed

  • Add raw sql parameters
  • Add support for multiple joins
  • Add docs for adding third party databases

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.3...v0.1.4

workers-qb - v0.1.3

Published by G4brym almost 2 years ago

What's Changed

  • Add support for join clauses
  • Add support for on conflict clauses
  • Fix update syntax and parameter position
  • Improve ci/cd for new releases

Full Changelog: https://github.com/G4brym/workers-qb/compare/v0.1.2...v0.1.3

Package Rankings
Top 7.09% on Npmjs.org
Related Projects