Athena.database.connection ​
Variables ​
default ​
• default: Object
Type declaration ​
Name | Type |
---|---|
getCollections | () => string [] |
getName | (config : IConfig ) => string |
getURL | (config : IConfig ) => string |
throwConnectionError | () => void |
Defined in ​
server/database/connection.ts:42
Functions ​
getCollections ​
Usage
Athena.database.connection.getCollections(): string
[]
Returns ​
string
[]
Defined in ​
server/database/connection.ts:23
getName ​
Usage
Athena.database.connection.getName(config
): string
Parameters ​
Name | Type |
---|---|
config | IConfig |
Returns ​
string
Defined in ​
server/database/connection.ts:27
getURL ​
Usage
Athena.database.connection.getURL(config
): string
Parameters ​
Name | Type |
---|---|
config | IConfig |
Returns ​
string
Defined in ​
server/database/connection.ts:15
throwConnectionError ​
Usage
Athena.database.connection.throwConnectionError(): void
Returns ​
void