Function appendPreWriter

  • Use this as a append pre writer for the unified storage manager

    Optional transformation function applied before writing data to DynamoDB. The function takes data and path as input and returns an object with additional attributes. Properties 'data', 'path', and 'updatedAt' are reserved and cannot be overridden.

    Parameters

    • data: string

      The JSON string of the data to be stored

    • path: string

      The key against which this is stored

    Returns PreWriterRecord

Generated using TypeDoc