Set this option to Boolean true to enable DbDefn files.
This flag is required to be able to run a module that uses the Record Level Access APIs against a non IBM i database.
This flag also affects the behavior of SQL APIs such as pjs.query(), Data API, pjs.prepare() and pjs.executeDirect(). When this setting is in effect, and no database connection is specified, these APIs will attempt to detect the database connection by matching the table names used in queries to DBDefn files. If a matching DBDefn file is found, the database connection specified in the DBDefn file's dbConnection property will be used instead of the default database connection.
Code Block | ||||
---|---|---|---|---|
| ||||
enableDbDefn: true |
...