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

permit disabling BULK insert for one batch

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.3
    • batch
    • None

    Description

      Actually, batch can either set bulk at the connection level, and cannot be disabled for a specific batch. This task is to permit using command like :

              await conn.batch({ bulk: false, sql: 'INSERT INTO TABLE VALUES (?,?)' }, [
                [1, 'john'],
                [2, 'jack']
              ]);
      

      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.