This currently works in knex:
knex.raw('select * from users where id = ?', [1])
I am trying to use more than one value as parameters, repeating some of them. Something like this:
knex.raw('select * from users where id = 1? and name = 2? and firstName = 2?', [1, 'someName'])
How can I achieve that?
you can do something like this also:
it's not the first example, but it's documented here.