@xuda.io/xuda-dbs-plugin-xuda 1.0.147 → 1.0.148
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/package.json +1 -1
- package/studio.mjs +2 -3
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xuda.io/xuda-dbs-plugin-xuda",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.148",
|
4
4
|
"description": "Xuda Database Socket for Xuda's proprietary structure powered by CouchDB",
|
5
5
|
"scripts": {
|
6
6
|
"pub": "npm version patch --force && npm publish --access public"
|
package/studio.mjs
CHANGED
@@ -747,9 +747,8 @@ const query_db = async function (e, db, table_obj) {
|
|
747
747
|
name: index_name,
|
748
748
|
ddoc: `mango_index_table_${e.table_id}`,
|
749
749
|
};
|
750
|
-
db.createIndex(mango_index_obj)
|
751
|
-
|
752
|
-
});
|
750
|
+
const result = await db.createIndex(mango_index_obj);
|
751
|
+
console.log("createIndex", result);
|
753
752
|
throw new Error("creating index in progress");
|
754
753
|
} catch (err) {
|
755
754
|
return { code: -1, data: err.message };
|