elections-cpl.api.hscc.bdpa.org • Docs
elections-cpl.api.hscc.bdpa.org / lib/mongo-schema / getNameFromAlias
getNameFromAlias(
alias
):Promise
<string
>
Accepts a database alias (or real name) and returns its real name. If the actual database is not listed in the schema, an error is thrown.
• alias: string
Promise
<string
>