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.
- package/libs/elabase.js +5 -0
- 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
|
}
|