论坛首页 AJAX版 dojo

how to implement 'OR' query in the data store fetch

浏览 642 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
时间:2007-10-17
The fetch method query syntax for ItemFileReadStore allows a list of attributes to match against in an "AND" fashion.
For example, a query object that looks like the following example will locate all items that have attributes of those names that match both of those

{ foo:"bar", bit:"bite"}

My question is:If I want to query the value of bit are "bite" or "byte",How do I implement the query syntax in Dojo.
   
时间:2008-04-18
做两次查询,然后将返回的items合并撒 呵呵
   
0 请登录后投票
论坛首页 AJAX版 dojo

跳转论坛:
JavaEye推荐
    快速回复 引用上一条消息 (Alt+S)