GeoPoint Field
Table of contents
Example Usage
class User(Model):
location = GeoPoint()
u = User()
u.location = fireo.GeoPoint(latitude=123.23, longitude=421.12)
Allowed Attributes
The following attributes supported by GeoPoint Field.
-
Default
Default value for field. This is base attribute that is available in all fields. Read More
-
Required
Set
True
if value is required for the field. This is base attribute that is available in all fields. Read More -
Column Name
Set different column name in Firestore instead of field name. This is base attribute that is available in all fields. Read More
-
Validator
Validate given value of field. This is base attribute that is available in all fields Read More