Is it possible to toggle a boolean value in a postgres table using knex in a single query and return the new value?
await knex('table').update({ boolCol: knex.raw('NOT ??', ['boolCol]) }).returning('boolCol');