Uploaded image for project: 'MariaDB Connector/node.js'
  1. MariaDB Connector/node.js
  2. CONJS-164

Add API that list options default value

    XMLWordPrintable

    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',
         ...
      }
      */   
      

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration