pjs.getDBDriver()



The pjs.getDBDriver() API returns the database driver name.

This API is deprecated starting in Profound.js 5.0.0. Use pjs.getDB() to get information about database connections. 



This API was added in Profound.js 4.9.1


Parameters

None

Return Value

The database driver name. If the program is running on Profound.js Spaces and called from IBM i using the NODERUN command/program, then the driver name will be "IBMi". Otherwise, the driver name for the default database connection is returned.

var driver = pjs.getDBDriver();