Facebook FQL LIKE 运算符

发布于 2024-10-17 21:40:32 字数 708 浏览 4 评论 0原文

可能的重复:
facebook fql 是否包含 sql like 运算符?
使用 FQL 的 Facebook 查询

是否可以在 Facebook 的查询语言中使用熟悉的 SQL LIKE 运算符?

我尝试在 FQL 测试控制台中运行查询,但它不起作用。我想知道我是否遗漏了某些东西或者根本不可能?

SELECT link_id from link WHERE url LIKE '%FRLJTjNC8So%' AND owner = '421235'

去这里测试一下: http://developers.facebook.com/docs/reference/rest/fql .query/

Possible Duplicates:
Does facebook fql contain the sql like operator?
FaceBook query using FQL

Is it possible to use the familiar SQL LIKE operator within Facebook's query language?

I have tried running the query in the FQL test console, but it doesn't work. I'm wondering if I'm missing something or if it is simply not possible?

SELECT link_id from link WHERE url LIKE '%FRLJTjNC8So%' AND owner = '421235'

Go here to test:
http://developers.facebook.com/docs/reference/rest/fql.query/

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

抱着落日 2024-10-24 21:40:32

SELECT link_id from link WHERE strpos(url,'FRLJTjNC8So') >=0 ANDowner = '421235'

FQL 中没有 SQL LIKE。我的解决方案使用 FQL STRPOS 代替。这有效是因为它
URL 字段中搜索子字符串 FRLJTjNC8So

以下线程很有帮助

facebook fql 是否包含 sql like 运算符?

SELECT link_id from link WHERE strpos(url,'FRLJTjNC8So') >=0 AND owner = '421235'

There is no SQL LIKE in FQL. My solution uses FQL STRPOS instead. This works because it
searches for the substring FRLJTjNC8So within the URL field.

The following thread was helpful

Does facebook fql contain the sql like operator?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文