@xuda.io/xuda-dbs-plugin-xuda 1.0.183 → 1.0.184
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 +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.184",
|
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
@@ -510,7 +510,7 @@ const get_opt = function (e, table_obj) {
|
|
510
510
|
var selector_new = {};
|
511
511
|
|
512
512
|
for (const [key, val] of Object.entries(opt.selector)) {
|
513
|
-
if (key.substring(0) === "$") {
|
513
|
+
if (key.substring(0, 1) === "$") {
|
514
514
|
selector_new[+key] = val;
|
515
515
|
continue;
|
516
516
|
}
|