Documentation
    Preparing search index...

    Class DynamoSessionStore

    Implements

    Index

    Constructors

    Methods

    • Attempt to lock the row

      Parameters

      • id: string
      • lockVerificationValue: string

      Returns Promise<boolean>

      boolean - returns true if lock successful (unsuccessful lock throws LockError)

      Error - a message declaring that the row is already locked, if that is the case

    • unlock a session row so that other clients can modify its data

      Parameters

      • id: string

        the id of the session to unlock

      Returns Promise<boolean>

    • Removes the given properties from the session object No error will be thrown if any of the provided fields don't exist.

      Returns false if the id wasn't found. Otherwise, returns true.

      Parameters

      • id: string

        the session id

      • properties: string[]

        the names of the properties or indexes to remove

      Returns Promise<boolean>