@xuda.io/xuda-dbs-plugin-xuda 1.0.206 → 1.0.208
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/server.js +1 -1
- package/studio.mjs +1 -1
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.208",
|
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/server.js
CHANGED
@@ -492,7 +492,7 @@ const get_opt = function (e, table_obj) {
|
|
492
492
|
|
493
493
|
function replaceKeysInQuery(query) {
|
494
494
|
const keys_to_replace = table_obj.tableFields.map((e) => {
|
495
|
-
return e
|
495
|
+
return e?.data?.field_id;
|
496
496
|
});
|
497
497
|
|
498
498
|
// Helper function to recursively process the query object
|
package/studio.mjs
CHANGED
@@ -325,7 +325,7 @@ const get_opt = function (e, table_obj) {
|
|
325
325
|
|
326
326
|
function replaceKeysInQuery(query) {
|
327
327
|
const keys_to_replace = table_obj.tableFields.map((e) => {
|
328
|
-
return e
|
328
|
+
return e?.data?.field_id;
|
329
329
|
});
|
330
330
|
|
331
331
|
// Helper function to recursively process the query object
|