Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAbsolutePath ¶
IsAbsolutePath checks if a path is an absolute Firestore path
func IsRelativePath ¶
IsRelativePath checks if a path is a relative Firestore path
func JSONToFirestoreValue ¶
JSONToFirestoreValue converts a JSON value with type information to a Firestore-compatible value The input should be a map with a single key indicating the type (e.g., "stringValue", "integerValue") If a client is provided, referenceValue types will be converted to *firestore.DocumentRef
func ValidateCollectionPath ¶
ValidateCollectionPath validates that a path is a valid Firestore collection path. Collection paths must have an odd number of segments (collection/doc/collection)
func ValidateDocumentPath ¶
ValidateDocumentPath validates that a path is a valid Firestore document path. Document paths must have an even number of segments (collection/doc or collection/doc/collection/doc)