[英]IBM worklight WL.JSONStore.QueryPart(). Jsonstore error
when i use an advance search, it shows that WL.JSONStore.QueryPart(). 当我使用高级搜索时,它显示了WL.JSONStore.QueryPart()。 is not a function and it is not recognized as something existent, is it deprecated or i need to use it differently?
不是一个函数,它不被认为是存在的东西,它是否已被弃用?
var queryPart1 = WL.JSONStore.QueryPart().like('category', 'abc')
var queryPart2 = WL.JSONStore.QueryPart().like('category', 'xyz');
WL.JSONStore.get('Categories').advancedFind([queryPart1,queryPart2])
.then(function(results){
})
.fail(function(errorObject) {
alert("fail" + errorObject);
});
仅在6.2及更高版本上支持查询部件和advancedFind。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.