TenantAtlas/apps/platform/.pnpm-store/v10/files/c5/c915ac2921698775c7365e231ee6fc20ebf422f702b90f73e0fe8191acbb51725d7019f4cbd09830d54a56729f9dc36c7191d1066b26e72b1706da9d68a703
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

33 lines
712 B
Plaintext

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