Batch update in knex
问题 I'd like to perform a batch update using Knex.js For example: 'UPDATE foo SET [theValues] WHERE idFoo = 1' 'UPDATE foo SET [theValues] WHERE idFoo = 2' with values: { name: "FooName1", checked: true } // to `idFoo = 1` { name: "FooName2", checked: false } // to `idFoo = 2` I was using node-mysql previously, which allowed multiple-statements. While using that I simply built a mulitple-statement query string and just send that through the wire in a single run. I'm not sure how to achieve the