Commit 842c6c50 by Billy Tobon

markdown tweaks

parent 5954e655
......@@ -86,14 +86,13 @@ 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
We can also store geoPoint dataTypes as attributes using the format <code>'POINT(latitude longitude)'</code>, 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()
~~~~~
......
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