pqb 0.7.6 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -777,7 +777,7 @@ const aggregateToSql = (ctx, model, item, quotedAs) => {
777
777
 
778
778
  class PormError extends Error {
779
779
  }
780
- class QueryError extends pg.DatabaseError {
780
+ class QueryError extends Error {
781
781
  get isUnique() {
782
782
  return this.code === "23505";
783
783
  }