TenantAtlas/apps/platform/.pnpm-store/v10/files/7b/144084184deab311f5fc0fa9a2471ad6f3617b015f0bca946badd0fb281cab501d117e7b42d6ec145192c0377172dd377b4c273d6bca9d855d9ed8c8f18edc
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
715 B
Plaintext

import { entityKind } from "../../entity.js";
import { QueryPromise } from "../../query-promise.js";
class GelRaw extends QueryPromise {
constructor(execute, sql, query, mapBatchResult) {
super();
this.execute = execute;
this.sql = sql;
this.query = query;
this.mapBatchResult = mapBatchResult;
}
static [entityKind] = "GelRaw";
/** @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 {
GelRaw
};
//# sourceMappingURL=raw.js.map