Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does facebook fql contain the sql like operator?

I am building a small facebook app. Trying to search for values in an auto compelte manner. Is it possible to use sql's like operator in fql?

like image 936
vondip Avatar asked Oct 30 '09 06:10

vondip


2 Answers

Another way for you is to use the strpos(message, "content you want") >= 0. I don't know why, but the IN operator does not run for me. Did anyone try it?

like image 144
vodkhang Avatar answered Sep 22 '22 17:09

vodkhang


There is no LIKE operator in FQL.

However, you may have luck with the IN operator:

WHERE "Stanford" IN education_history.name

This page may also help and has sample queries:

  • FQL
like image 26
Portman Avatar answered Sep 19 '22 17:09

Portman