TenantAtlas/apps/platform/.pnpm-store/v10/files/03/6a4aa9f7af9efa5ba28810d4835451da99566b8bb1baf91ee75efbf57a5471647f3f0bf8c983c08dc132b8fe534ffa3d68c95a0bcfb122bc9f850fd332ea55
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

27 lines
628 B
Plaintext

import { entityKind } from "../../entity.js";
import { PgColumn, PgColumnBuilder } from "./common.js";
class PgBooleanBuilder extends PgColumnBuilder {
static [entityKind] = "PgBooleanBuilder";
constructor(name) {
super(name, "boolean", "PgBoolean");
}
/** @internal */
build(table) {
return new PgBoolean(table, this.config);
}
}
class PgBoolean extends PgColumn {
static [entityKind] = "PgBoolean";
getSQLType() {
return "boolean";
}
}
function boolean(name) {
return new PgBooleanBuilder(name ?? "");
}
export {
PgBoolean,
PgBooleanBuilder,
boolean
};
//# sourceMappingURL=boolean.js.map