| 123456789101112131415161718192021222324252627282930 |
- import { entityKind } from "../../entity.js";
- import { GelColumn, GelColumnBuilder } from "./common.js";
- class GelJsonBuilder extends GelColumnBuilder {
- static [entityKind] = "GelJsonBuilder";
- constructor(name) {
- super(name, "json", "GelJson");
- }
- /** @internal */
- build(table) {
- return new GelJson(table, this.config);
- }
- }
- class GelJson extends GelColumn {
- static [entityKind] = "GelJson";
- constructor(table, config) {
- super(table, config);
- }
- getSQLType() {
- return "json";
- }
- }
- function json(name) {
- return new GelJsonBuilder(name ?? "");
- }
- export {
- GelJson,
- GelJsonBuilder,
- json
- };
- //# sourceMappingURL=json.js.map
|