Skip to content
On this page

Athena.database.connection

Variables

default

default: Object

Type declaration

NameType
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

NameType
configIConfig

Returns

string

Defined in

server/database/connection.ts:27


getURL

Usage

Athena.database.connection.getURL(config): string

Parameters

NameType
configIConfig

Returns

string

Defined in

server/database/connection.ts:15


throwConnectionError

Usage

Athena.database.connection.throwConnectionError(): void

Returns

void

Defined in

server/database/connection.ts:34

Created by Stuyk | Est. 2020