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 | 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 1x | /**
* @file 文件系统数据库入口脚本
* @Author wangjie19
* @Date 2020-07-22 17:17:38
* @Last Modified by: wangjie19
* @Last Modified time: 2020-07-23 17:29:05
*/
import DB from './db';
interface IConnect {
/** 用户名 */
user: string,
/** 密码 */
password: string,
/** 数据库 */
db: string
}
class FileDB extends DB {
user: string
password: string
db: string
constructor(connect: IConnect) {
const {user, password, db} = connect;
super(db);
this.user = user;
this.password = password;
this.db = db;
}
}
export default FileDB;
|