Skip to content

ev_database

Sudheer edited this page Jan 25, 2023 · 2 revisions

Utility to make connection to a database

local ev_db = require('service_utils.db.ev_database');

Methods

ev_db..make_db_connection(db_name);

DESCRIPTION:

Establishes connection to a given database name It is assumed that the database client params are already initialized using client_params

RETURN:

conn: table, connection handle to the given database

ERROR:

Throws exceptions if any

Clone this wiki locally