Added missing import

This commit is contained in:
Ben Ashton 2021-03-16 11:28:40 -07:00
parent 7387e20b09
commit 4099188b43
3 changed files with 7 additions and 4 deletions

View File

@ -67,7 +67,9 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ });
/* 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 _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 error;
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) {
error = e;
}
@ -148,7 +150,7 @@ class Database {
if (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

View File

@ -1,5 +1,6 @@
import { TaskManager } from "./task_manager.mjs";
import { Transaction } from "./transaction.mjs";
import { Result } from "./result.mjs";
import { query } from "./query.mjs";