@xuda.io/xuda-dbs-plugin-xuda 1.0.180 → 1.0.181
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 +6 -6
    
        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.181",
         | 
| 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
    
    | @@ -453,18 +453,18 @@ const get_opt = function (e, table_obj) { | |
| 453 453 | 
             
                          value = val.filter;
         | 
| 454 454 | 
             
                      }
         | 
| 455 455 | 
             
                    }
         | 
| 456 | 
            -
                    if (!opt.selector[ | 
| 457 | 
            -
                      opt.selector[ | 
| 456 | 
            +
                    if (!opt.selector[condition]) {
         | 
| 457 | 
            +
                      opt.selector[condition] = {};
         | 
| 458 458 | 
             
                    }
         | 
| 459 | 
            -
                    if (!opt.selector[ | 
| 460 | 
            -
                      opt.selector[ | 
| 459 | 
            +
                    if (!opt.selector[condition][field_name]) {
         | 
| 460 | 
            +
                      opt.selector[condition][field_name] = [];
         | 
| 461 461 | 
             
                    }
         | 
| 462 | 
            -
                    opt.selector[ | 
| 462 | 
            +
                    opt.selector[condition][field_name].push({
         | 
| 463 463 | 
             
                      [operator]: value,
         | 
| 464 464 | 
             
                    });
         | 
| 465 465 |  | 
| 466 466 | 
             
                    if (operator_to) {
         | 
| 467 | 
            -
                      opt.selector[ | 
| 467 | 
            +
                      opt.selector[condition][field_name].push({
         | 
| 468 468 | 
             
                        [operator_to]: value_to,
         | 
| 469 469 | 
             
                      });
         | 
| 470 470 | 
             
                    }
         |