Reserved Words
Following list is reserved words by FireO. Don’t use these words in Model or in custom fields
These words can be used in Firestore but not in Model as instance variable to class variable.
Word | Description |
---|---|
id | Used to store model id, You can use it but only for IDField |
key, _key | Store the model key, Don’t use it |
parent | Save the parent model key |
_update_doc | Contain information for updating the model |
collection_name | Name of the collection, don’t override it manually, See Meta class |
collection | Default Manager to operate Firestore operation |
_field_list | list of fields |
_field_changed | Changed fields when updating |
_instance_modified | Model is modified after saving or updating |
_meta | Store information about model |