michalkow/node-mysql-backbone

Prepared statements?

Closed this issue · 1 comments

tgbv commented

Hello! Does this module prepare the statements automatically? If not, how should I prepare the statement in the following case?

await Collection.fetch({
    where: "username = 'doggo'",
})

Statement will be prepared automatically for conditions specified here: fetch-conditions