我试图限制在纬度/经度范围内,但不知道该怎么做这是我尝试过的
SELECT name, venue, location, start_time, eid FROM event
WHERE eid IN (
SELECT eid FROM event_member
WHERE (uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) OR uid = me())
)
AND start_time > now()
AND venue.latitude < '-22.821757'
AND venue.latitude > '-23.056989'
但是坐标比较不起作用,因为我正在与字符串进行比较
如果我拿走我得到的报价:
(#601) Parser error: unexpected '-' at position 233
https://developers.facebook.com/tools/explorer
谢谢