Skip to main content

getDatabaseConnectionByID

Last updated 10/05/2023

The getDatabaseConnectionByID() function on the Five object establishes the connection to the external Database Management System (DBMS). It will return a handle to the database that may be inspected to check if the connection is successful or not using the isOk function provided on the handle.

Available
Server


Function Signature
getDatabaseConnectionByID(databaseID: string) : DatabaseConnection;

ParameterTypeDescription
databaseIDstringDatabase ID for the Database

Examples

getDatabaseConnectionByID()