FirebaseFirestoreSwift Framework Reference

Enumerations

The following enumerations are available globally.

  • Undocumented

    Declaration

    Swift

    publicenumFirestoreDecodingError:Error
  • Undocumented

    Declaration

    Swift

    publicenumFirestoreEncodingError:Error
  • The strategy to use when an error occurs during mapping Firestore documentsto the target type ofFirestoreQuery.

    Declaration

    Swift

    publicenumDecodingFailureStrategy
  • Query predicates that can be used to filter results fetched byFirestoreQuery.

    Construct predicates using one of the following ways:

    letonlyFavourites:QueryPredicate=.whereField("isFavourite",isEqualTo:true)letonlyFavourites2:QueryPredicate=.isEqualTo("isFavourite",true)letonlyFavourites3:QueryPredicate=.where("isFavourite",isEqualTo:true)

    Declaration

    Swift

    publicenumQueryPredicate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-05-11 UTC.