Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | /**
* @file 数据库脚本
* @Author wangjie19
* @Date 2020-07-23 15:56:39
* @Last Modified by: wangjie19
* @Last Modified time: 2020-07-23 18:10:14
*/
import Table from "./table";
class DB {
db: string
constructor(db: string = '') {
this.db = db;
}
connect(db: string = '') {
this.db = db;
}
createDB(db: string = '') {
this.db = db;
}
deletedb(db: string = '') {
this.db = '';
}
/**
* 获取表
* @param name 表名
* @return 对应表
*/
table(name: string = ''): Table {
return new Table();
}
}
export default DB;
|