Details
-
Type:
New Feature
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.5.4
-
Component/s: API
-
Labels:None
Description
Add API that list options and default value.
const mariadb = require('mariadb'); |
console.log(mariadb.defaultOptions({ timezone: '+00:00' })); |
/*
|
{
|
host: 'localhost',
|
port: 3306,
|
user: 'root',
|
password: undefined,
|
database: undefined,
|
collation: Collations.fromName('UTF8MB4_UNICODE_CI'),
|
timezone: '+00:00',
|
...
|
}
|
*/ |