mm_os 1.6.2 → 1.6.3
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/core/com/sql/drive.js +1 -1
- package/package.json +1 -1
package/core/com/sql/drive.js
CHANGED
|
@@ -701,7 +701,7 @@ Drive.prototype.import_main = async function(db, file) {
|
|
|
701
701
|
var o = jarr[i];
|
|
702
702
|
var qy = {};
|
|
703
703
|
qy[key] = o[key];
|
|
704
|
-
var n = await db.
|
|
704
|
+
var n = await db.addOrSet(qy, o);
|
|
705
705
|
if (n < 1) {
|
|
706
706
|
errors.push(db.error);
|
|
707
707
|
list_error.push(o);
|