N1QL 加入 id 作为 Array,Couchbase

N1QL join with id as Array,Cocuhbase

我有 json 如下所示

 "User|255": {
        "_id": 255,
        "_type": "User",
        "children": [
          482,
          636,
          637,
          638,
          651,
          673,
          872
            ],
          "created": "2016-02-01T18:30:00.000Z",
    }

现在我想加入 on keys['User|TOSTRING(children[*])']

我试过如下

select Users._id from default U1 join default Users 
on keys ("User|"||TOSTRING(U1.children[*])) 
where Campaign._type='User' and _id= 255

但是没用

给你。

ON KEYS ARRAY 'User|' || TO_STRING(c) FOR c IN U1.children END