zasady . sklep z ogniem . Ratunek
interfejs statyczny
Odczytywany lub zapisywany dokument Firestore.
Nieruchomości
__nazwa__
reguły inne niż null.Ścieżka
Pełna nazwa dokumentu jako ścieżka.
Przykład
// Check 'name' field from the document
resource['__name__'] == /databases/(default)/documents/collection/document
dane
reguły inne niż null.Map
Mapa danych dokumentu.
Przykład
// Check 'name' field from the document
resource.data.name == 'John Doe'
ID
reguły inne niż null.String
Ciąg klucza dokumentu
Przykład
resource['__name__'] ==
/databases/(default)/documents/collection/$(resource.id)