Commit 5954e655 by Billy Tobon

added geoPoint documentation

parent da62808e
......@@ -86,6 +86,17 @@ We can store a reference to another ParseObject by assigning it to an attribute:
>>> gameScore.item = collectedItem
~~~~~
We can also store geoPoint dataTypes as attributes using the format 'POINT(latitude longitude)', with latitude and longitude as float values
~~~~~ {python}
>>> restaurant = ParsePy.ParseObject("Restaurant")
>>> restaurant.name = "Los Pollos Hermanos"
>>> restaurant.location ="POINT(12.0 -34.45)"
>>> restaurant.save()
~~~~~
Querying
--------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment