【发布时间】:2012-08-16 20:30:51
【问题描述】:
这就是我要找的东西:
选择 author_uid, tagged_uids, page_id from location_post where author_uid = me() 或 ( author_uid in (select uid2 from friend where uid1=me()) and me() in tagged_uids)
当我拆分查询时,它们会返回预期的结果。
即两者都
- 从 location_post where author_uid = me() 中选择 author_uid、tagged_uids、page_id
- select author_uid, tagged_uids, page_id from location_post where author_uid in (select uid2 from friend where uid1=me()) and me() in tagged_uids
按预期工作。我需要的是2的结合。 我很想说这是 API 中的错误(或限制)
注意:
- 如果硬编码我朋友的 id 和我的 id 之一,则 OR 子句本身有效。即 author_uid=
或(author_uid= and in tagged_uids)
【问题讨论】:
标签: union facebook-fql facebook-rest-api