Files
traxxx/src/tools/knex-update.js
2022-10-25 23:13:24 +02:00

19 lines
258 B
JavaScript
Executable File

'use strict';
const knex = require('../knex');
async function update() {
const query = knex('bans')
.update('type', {
type: 'mute',
username_original: 'charles',
})
.where('id', 2754);
console.log(query.toSQL());
await query;
}
update();