corebasic 1.0.74 → 1.0.75
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 +2 -1
- package/package.json +1 -1
package/libs/elabase.js
CHANGED
|
@@ -76,7 +76,7 @@ export function transactionCommit(arg) {
|
|
|
76
76
|
isTransaction = false
|
|
77
77
|
transactions = []
|
|
78
78
|
return new Promise((resolve, reject) => resolve())
|
|
79
|
-
.then(() => execute({ "transaction": txns, mode, stats: arg?.stats ?? false, version: arg
|
|
79
|
+
.then(() => execute({ "transaction": txns, mode, stats: arg?.stats ?? false, version: arg?.version, compression: arg?.compression }))
|
|
80
80
|
.then (result => {
|
|
81
81
|
Events.send("Elabase.transactionCommit", { response: result })
|
|
82
82
|
return result
|
|
@@ -194,6 +194,7 @@ function execute(arg) {
|
|
|
194
194
|
// }
|
|
195
195
|
arg.db = arg.db ?? db
|
|
196
196
|
arg.engine = arg.engine ?? internal.engineName
|
|
197
|
+
arg.compression = true // Compress all for now
|
|
197
198
|
|
|
198
199
|
if (stats)
|
|
199
200
|
arg.stats = true
|