Optional opt: DriverOptions = DefaultDriverOptionsThe options for configuring the database.
Private cachePrivate dataPrivate driverPrivate garbageAppends a value to an array in the database.
The key for the array.
The value to be appended.
Optional expirationSeconds: numberThe expiration time for the array in seconds.
Sets a value in the database with a time-to-live (TTL) expiration.
The key for the value.
The value to be stored.
The time-to-live in milliseconds.
Optional callback: FunctionCallback function to be executed after the TTL expires.
Generated using TypeDoc
Creates an instance of Megdb.