@xuda.io/xuda-dbs-plugin-xuda 1.0.109 → 1.0.111
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 -2
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.111",
|
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
@@ -590,7 +590,7 @@ const query_db = async function (e, db, table_obj) {
|
|
590
590
|
// no index
|
591
591
|
rows.push({ key: "", value: body.docs.length });
|
592
592
|
}
|
593
|
-
return { code: 1, data: { rows: rows, total_rows: rows.length } };
|
593
|
+
return { code: 1, data: { rows: rows, total_rows: rows.length, opt } };
|
594
594
|
};
|
595
595
|
|
596
596
|
const totals = async function () {
|
@@ -1166,7 +1166,7 @@ const query_db = async function (e, db, table_obj) {
|
|
1166
1166
|
|
1167
1167
|
rows.push({ id: crypto.randomUUID(), value: obj });
|
1168
1168
|
}
|
1169
|
-
return { code: 1, data: { rows } };
|
1169
|
+
return { code: 1, data: { rows, opt } };
|
1170
1170
|
}
|
1171
1171
|
|
1172
1172
|
var rows = [];
|