Class Database

Database Class

Hierarchy (view full)

Constructors

Properties

#onStoreUpdate: ((this) => void)

Type declaration

    • (this): void
    • Parameters

      Returns void

components: DbComponents
datastore: Datastore<{}, {}, {}, {}, {}, {}, {}, {}, {}, {}>

Type declaration

    Type declaration

      Type declaration

        Type declaration

          Type declaration

            Type declaration

              Type declaration

                Type declaration

                  Type declaration

                    Type declaration

                      identity: IdentityInstance<any>
                      manifest: Manifest
                      replica: Replica
                      replicators: Replicator[]

                      Accessors

                      Methods

                      • Close the Database

                        Welo database factory listens for the closed method to be called to manage lifecycles of databases it's managing.

                        Returns Promise<void>

                      • Open a Database

                        Welo Database factory uses this method, and provides the modules needed, to return databases from its open instance method.

                        Parameters

                        • options: DbOpen

                          Contains properties and modules for the database to use

                        Returns Promise<Database>

                      Generated using TypeDoc