Browse Source

Added missing import

master
Ben Ashton 2 years ago
parent
commit
4099188b43
  1. 8
      cjs/pawsqlite.js
  2. 2
      cjs/pawsqlite.js.map
  3. 1
      src/database.mjs

8
cjs/pawsqlite.js

@ -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);
}
}

2
cjs/pawsqlite.js.map

File diff suppressed because one or more lines are too long

1
src/database.mjs

@ -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";

Loading…
Cancel
Save