corebasic 1.0.178 → 1.0.179

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.
Files changed (2) hide show
  1. package/libs/elabase.js +5 -0
  2. package/package.json +1 -1
package/libs/elabase.js CHANGED
@@ -248,6 +248,11 @@ export const remove = async (meta, collection, query, extras) => {
248
248
  })
249
249
  }
250
250
 
251
+ export const close = async (meta, db) => {
252
+ return query(meta, "-", {}, {}, {db: db ?? root.db, close: true})
253
+ }
254
+
255
+
251
256
  export let config = {
252
257
  useDipper: false
253
258
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.178",
4
+ "version": "1.0.179",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {