开发者

how to make query with two operators on one condition in fql?

HI i got a problem with FQL statments, I dont understand how i can make two operators on one condition?. This is my example code:

FacebookDesktop.fqlQuery("SELECT username, age, , FROM somewhere WHERE source_id = me() AND (34 > age > 20 )  LIMIT 50",httpservice1_resultHandler);

I dont know how to limit the age with two conditions. I tried to use many variations but it doesnt work. Can anyone please let my know what i开发者_StackOverflow中文版s the correct way to do it?.

Thanks


I couldn't understand what you are trying to get with that query..

Make sure that you are referring exact column name and table names while writing fql query..

Anyway try this..

FacebookDesktop.fqlQuery(
"SELECT username, age FROM somewhere WHERE source_id = me() 
AND age<34 AND age > 20 )  LIMIT 50"
,httpservice1_resultHandler);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜