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

Support 10.5 pluggable type

    XMLWordPrintable

Details

    Description

      Since https://jira.mariadb.org/browse/MDEV-17832 driver can now differentiate JSON from string
      and distinguish GEOMETRY null values types.

      Connector must permit to return JSON in place of String for JSON:

          shareConn
            .query(' SELECT jsonField from t')
            .then(rows => {
               // rows must be 
               // [{ t: {"id":2,"val":"t\'est"} }]
               // not 
               // [{ t: '{"id":2,"val":"t\'est"}' }]
            })
      

      Connector must return exact geometry datatype for null value:

          shareConn
            .query(' SELECT null_point_value as t from t')
            .then(rows => {
               // rows must be 
               // [{ t: {type: 'Point', coordinates: null} }]
               // not 
               // [{ t: null }]
            })
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.