fql result count

2019-01-28 09:53发布

问题:

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.