Enumerations
The following enumerations are available globally.
-
Undocumented
Declaration
Swift
public enum FirestoreDecodingError : Error -
Undocumented
Declaration
Swift
public enum FirestoreEncodingError : Error -
The strategy to use when an error occurs during mapping Firestore documents to the target type of
FirestoreQuery.Declaration
Swift
public enum DecodingFailureStrategy -
Query predicates that can be used to filter results fetched by
FirestoreQuery.Construct predicates using one of the following ways:
let onlyFavourites: QueryPredicate = .whereField("isFavourite", isEqualTo: true) let onlyFavourites2: QueryPredicate = .isEqualTo("isFavourite", true) let onlyFavourites3: QueryPredicate = .where("isFavourite", isEqualTo: true)Declaration
Swift
public enum QueryPredicate