DIR : /home/kozerus/public_html/cropex/node/node_modules/drizzle-orm/sqlite-core/query-builders/raw.js

/home/kozerus/public_html/cropex/node/node_modules/drizzle-orm/sqlite-core/query-builders

import { entityKind } from "../../entity.js";
import { QueryPromise } from "../../query-promise.js";
class SQLiteRaw extends QueryPromise {
  constructor(execute, getSQL, action, dialect, mapBatchResult) {
    super();
    this.execute = execute;
    this.getSQL = getSQL;
    this.dialect = dialect;
    this.mapBatchResult = mapBatchResult;
    this.config = { action };
  }
  static [entityKind] = "SQLiteRaw";
  /** @internal */
  config;
  getQuery() {
    return { ...this.dialect.sqlToQuery(this.getSQL()), method: this.config.action };
  }
  mapResult(result, isFromBatch) {
    return isFromBatch ? this.mapBatchResult(result) : result;
  }
  _prepare() {
    return this;
  }
  /** @internal */
  isResponseInArrayMode() {
    return false;
  }
}
export {
  SQLiteRaw
};
//# sourceMappingURL=raw.js.map
//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer