• Gets a field of a document and store it in a variable.

    Parameters

    • collectionName: string

      The collection where the document is stored.

    • documentName: string

      The name of the document.

    • field: string

      The field to get.

    • Optional callbackValueVariable: Variable

      The variable where to store the result.

    • Optional callbackStateVariable: Variable

      The variable where to store if the operation was successful.

    Returns void