0

我们添加了一个单独的插件来使用 YDN-DB 实现全文搜索。

现在全文查询正在工作,但所有现有的获取数据列表的查询都不起作用。例如:

db_mob_audit.from('OrgChildrenNodeInfo').where('IParentID', '=', ParentnodeID).done(
    function (Orgresponse) {
    }
);

为了使它工作,我们将查询更改为:

db_mob_audit.values('OrgChildrenNodeInfo', 'IParentID', key_range, 9999).done(
    function (Orgresponse) {
    }
);

它在 chrome (IndexedDB) 中运行良好。

但在 safari 浏览器 (-mysql) 中,它再次给出多组结果。

4

1 回答 1

0

它应该是:

db_mob_audit.from('OrgChildrenNodeInfo')
    .where('IParentID', '=', ParentnodeID)
    .list()
    .done(function(Orgresponse) {
      console.log(Orgresponse);
    });
于 2014-03-10T05:31:31.937 回答