我的代碼看起來像這樣
Cloud.Events.query({
where: {
tags : {'$in': ['movie','netflix']}
}
}, function (e) {//continues
,並在arrowdb後端我在值推,以便爲事件代碼看起來像[" ","movie","netflix"]
。它沒有采取事件。我正在使用Titanium SDK語法。
我的代碼看起來像這樣
Cloud.Events.query({
where: {
tags : {'$in': ['movie','netflix']}
}
}, function (e) {//continues
,並在arrowdb後端我在值推,以便爲事件代碼看起來像[" ","movie","netflix"]
。它沒有采取事件。我正在使用Titanium SDK語法。
我在過去也遇到過一些麻煩。
我解決了它玩的語法。
最後,我伸手像一個解決方案:
var where = null
where.tags = {
'$in': [your array]
};
Cloud.Events.query({
where: where
}, function (e) {});
我希望它可以幫助你。
這導致相同的有效載荷 –
沒有工作兄弟,不能設置null的屬性 – Olli
我是正確的嗎?如果您要求列出所有事件(通過忽略位置或使用.show),您確實看到具有「movie」和「netflix」作爲標記的事件()與id)? –
是多數民衆贊成 – Olli
我已經提出了它作爲一個錯誤 – Olli