thinky
thinky copied to clipboard
support geojson polygons
These are valid RethinkDB types. It seems like the documentation hints that it is something that should be done eventually, but there is no ticket open for it.
![screen shot 2016-04-25 at 2 37 17 pm](https://cloud.githubusercontent.com/assets/425716/14794751/6aa5178e-0af3-11e6-88bf-a05584920121.png)
Yep, you can't use a polygon in a schema. You can use it to filter things though.
https://rethinkdb.com/api/javascript/geojson/ shows an example of converting GeoJSON to a ReQL Geometry object. geojson types and geojson validation are supported first class in the database, Point objects are just one of those geojson types.
+1
using type.any()
for now