ionian/test.ts

10 lines
233 B
TypeScript
Raw Normal View History

2021-01-15 18:43:36 +09:00
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()