i have a table with geometry(point) column data type, i stored data as POINT Object in mysql like this :
id asText(latlng)
1 POINT(35.80684 51.427820000000004)
2 POINT(35.726940000000006 51.30407)
3 POINT(35.726940000000006 51.30407)
4 POINT(35.726940000000006 51.30407)
5 POINT(35.72343 51.303200000000004)
6 POINT(35.72675 51.303760000000004)
Now, i want to select and find some records by giving a list of POINTs and wants to use WHERE in() clause in sql syntax.
But this query is not working :
SELECT id, asText(latlng) FROM `points` WHERE latlng in (POINT(35.80684 51.427820000000004))
anybody can help me to resolve my problem?
thanks