dbDriver
This configuration property specifies the default database driver to use for Profound.js Record Level Access and SQL operations.
This setting is deprecated starting in Profound.js 5.0.0. Use the databaseConnections property instead.Â
Profound.js database drivers
The following is a list of database drivers shipped with Profound.js.Â
Profound.js | dbDriver | Record | SQL | Required | Supported API |
---|---|---|---|---|---|
IBM i DB2 | "IBMi" | Yes | Yes | Profound.js Connector on IBM i | |
Offline JSON Store | "jsonDB" | Yes | No | No extra components required | Record Level Access API |
MySQL / MariaDB | "mysql" | Yes | Yes | Profound.js Connector for MySQL and mysql npm package | All SQL API |
Microsoft SQL Server | "mssql" | Yes | Yes | Profound.js Connector for MS SQL Server and mssql npm package | All SQL API |
Oracle | "oracledb" | Yes | Yes | Profound.js Connector for Oracle and oracledb npm package | All SQL API |
For IBM i DB2, if the IBM i system is remote in relation to the Profound.js server and if you're not starting your session from Genie, then you should also set the connectorURL and connectorCredentials configuration settings.
For MySQL / MariaDB, Microsoft SQL Server, and Oracle, you should set the connectionDetails configuration setting.Â
The Profound.js driver defined by this configuration property is used by these API: