ionian/test.ts
2021-02-22 23:09:55 +09:00

10 lines
233 B
TypeScript

import Knex from 'knex';
import {connectDB} from './src/database';
async function main() {
const db = await connectDB();
const query = db.update({deleted_at: null}).from('document');
console.log(query.toSQL());
}
main()