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

Array parameter automatic conversion

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • compatibility
    • None

    Description

      Permit using the array parameter :
      example

      connection.query('SELECT * FROM arrayParam WHERE val IN ?', [['b', 'c', 1]])
      

      resulting query send to server is then

      SELECT * FROM arrayParam WHERE val IN ('b','c', 1)
      

      (Array value are escaped according to type)

      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.