@creator.co/wapi - v1.8.1
    Preparing search index...

    Class Database<T>Abstract

    Abstract class representing a Database with a generic type extending DatabaseTransaction.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    config: { type: any }

    The database configuration object.

    Methods

    • Represents an abstract method for a transaction that returns a Promise of type T. This method needs to be implemented by subclasses.

      Returns Promise<T>

      A Promise that resolves to a value of type T.