rads-db 0.1.67 → 0.1.68

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.cjs CHANGED
@@ -773,6 +773,10 @@ function generateMethods(schema, validators, options) {
773
773
  await driverInstance.putMany(docsToSave, ctx);
774
774
  await handleEffectsAfterPut(computedContext, docArgsToSave, beforePutResults, ctx);
775
775
  return docsToSave;
776
+ },
777
+ clear: (ctx) => {
778
+ ctx = { ...opts.context, ...ctx };
779
+ return driverInstance.clear(ctx);
776
780
  }
777
781
  };
778
782
  }
package/dist/index.mjs CHANGED
@@ -766,6 +766,10 @@ function generateMethods(schema, validators, options) {
766
766
  await driverInstance.putMany(docsToSave, ctx);
767
767
  await handleEffectsAfterPut(computedContext, docArgsToSave, beforePutResults, ctx);
768
768
  return docsToSave;
769
+ },
770
+ clear: (ctx) => {
771
+ ctx = { ...opts.context, ...ctx };
772
+ return driverInstance.clear(ctx);
769
773
  }
770
774
  };
771
775
  }
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "require": "./integrations/*.cjs"
35
35
  }
36
36
  },
37
- "version": "0.1.67",
37
+ "version": "0.1.68",
38
38
  "description": "Say goodbye to boilerplate code and hello to efficient and elegant syntax.",
39
39
  "keywords": [],
40
40
  "author": "",