Workers Qb Versions Save

Zero dependencies Query Builder for Cloudflare Workers

v0.1.11

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

v0.1.10

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

v0.1.9

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

v0.1.8

1 year ago

What's Changed

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

v0.1.7

1 year ago

What's Changed

  • Improve automatic imports

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

v0.1.6

1 year ago

What's Changed

  • Add bulk insert

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

v0.1.5

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

v0.1.4

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

v0.1.3

1 year 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

v0.1.2

1 year ago