• Updates a variable/document.

    Parameters

    • collectionName: string

      The collection where the document is stored.

    • variableName: string

      The name under which the variable will be saved (document name).

    • variable: Variable

      The variable to update.

    • Optional callbackStateVariable: Variable

      The variable where to store the result.

    Returns void