Class: abstract
Database
Database workload.
Type Param
Client type
Extends
Extended by
Accessors
connectionString
Get Signature
ts
get connectionString(): string
Reads the value fron environment variable name that should hold the connection string.
Returns
string
Inherited from
StatefulWorkloadWithClient
.connectionString
connectionStringEnvVar
Get Signature
ts
get connectionStringEnvVar(): string
Returns the unique environment variable name that should hold the connection string.
Returns
string
Inherited from
StatefulWorkloadWithClient
.connectionStringEnvVar
databaseId
Get Signature
ts
get databaseId(): string
Database ID
Note: Alias of ìd
.
Returns
string
Constructors
new Database()
ts
new Database(databaseName): Database
Parameters
Parameter | Type | Description |
---|---|---|
|
| Database name. |
Returns
Overrides
StatefulWorkloadWithClient
.constructor
Properties
Property | Modifier | Type | Description |
---|---|---|---|
databaseName | readonly | string | Database name. |
id | readonly | string | Unique ID |