how to find fql result count?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
FQL doesn't support a COUNT function. Get the results, and just enumerate them.
See here: http://blogs.x2line.com/al/archive/2007/10/07/3287.aspx
回答2:
I think it's a decision taken by design. It would be potentially very expensive to allow COUNT over huge tables like Facebook ones. I've seen they have tables to store specific counts so you can query them already calculated.