📅  最后修改于: 2022-03-11 15:02:16.205000             🧑  作者: Mango
const sqlite3 = require( 'sqlite3' );
const db = new sqlite3.Database( './db.sqlite' );
db.get( 'SELECT name FROM sqlite_master WHERE type=table AND name=?', tbl, ( err, row ) => {
if ( err ) { console.error( err ); }
} );