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