Open
Description
It would be nice to have namedPlaceholders convert arrays of data into an IN clause.
I would like the following to be possible:
var parms = {
keys: [1,2,3,4,5,6,7]
};
db.pool.execute('SELECT id FROM table WHERE id IN (:keys)', parms, function(res, err) {
});
It should execute to the following:
SELECT id FROM table WHERE id IN (?,?,?,?,?,?,?)