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