pjs.getConnection()

 

This API retrieves a database connection.

Each database driver may have its own unique properties and methods attached to the connection object.

Parameters

1. Database connection (optional): A database connection definition object returned from pjs.getDB(). If not passed, the default database connection is used.

Return Value

Connection Object