devsite/tools/jazzy/templates

FirebaseFirestore Framework Reference

FieldValue

extension FirebaseFirestore.FieldValue: Swift.Encodable

Extends FieldValue to conform to Encodable.

  • Encoding a FieldValue will throw by default unless the encoder implementation explicitly handles it, which is what Firestore.Encoder does.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws