Added missing import
This commit is contained in:
parent
7387e20b09
commit
4099188b43
@ -67,7 +67,9 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export */ });
|
/* harmony export */ });
|
||||||
/* harmony import */ var _task_manager_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./task_manager.mjs */ "./src/task_manager.mjs");
|
/* harmony import */ var _task_manager_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./task_manager.mjs */ "./src/task_manager.mjs");
|
||||||
/* harmony import */ var _transaction_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transaction.mjs */ "./src/transaction.mjs");
|
/* harmony import */ var _transaction_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transaction.mjs */ "./src/transaction.mjs");
|
||||||
/* harmony import */ var _query_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./query.mjs */ "./src/query.mjs");
|
/* harmony import */ var _result_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./result.mjs */ "./src/result.mjs");
|
||||||
|
/* harmony import */ var _query_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./query.mjs */ "./src/query.mjs");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -139,7 +141,7 @@ class Database {
|
|||||||
let result;
|
let result;
|
||||||
let error;
|
let error;
|
||||||
try {
|
try {
|
||||||
result = await this.adapter.sql(this.dbName, ...(0,_query_mjs__WEBPACK_IMPORTED_MODULE_2__.query)(sql, ...args));
|
result = await this.adapter.sql(this.dbName, ...(0,_query_mjs__WEBPACK_IMPORTED_MODULE_3__.query)(sql, ...args));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
error = e;
|
error = e;
|
||||||
}
|
}
|
||||||
@ -148,7 +150,7 @@ class Database {
|
|||||||
if (error) {
|
if (error) {
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
return new Result(result);
|
return new _result_mjs__WEBPACK_IMPORTED_MODULE_2__.Result(result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,5 +1,6 @@
|
|||||||
import { TaskManager } from "./task_manager.mjs";
|
import { TaskManager } from "./task_manager.mjs";
|
||||||
import { Transaction } from "./transaction.mjs";
|
import { Transaction } from "./transaction.mjs";
|
||||||
|
import { Result } from "./result.mjs";
|
||||||
import { query } from "./query.mjs";
|
import { query } from "./query.mjs";
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user