• Updates a field of a document.

    Parameters

    • collectionName: string

      The collection where the document is stored.

    • documentName: string

      The name of the document where to update a field.

    • field: string

      The field where to update.

    • value: any

      The value to write.

    • Optional callbackStateVariable: Variable

      The variable where to store the result.

    Returns void