CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
real.js27 linesDownload Raw Back to columns
1import { entityKind } from "../../entity.js";2import { SQLiteColumn, SQLiteColumnBuilder } from "./common.js";3class SQLiteRealBuilder extends SQLiteColumnBuilder {4  static [entityKind] = "SQLiteRealBuilder";5  constructor(name) {6    super(name, "number", "SQLiteReal");7  }8  /** @internal */9  build(table) {10    return new SQLiteReal(table, this.config);11  }12}13class SQLiteReal extends SQLiteColumn {14  static [entityKind] = "SQLiteReal";15  getSQLType() {16    return "real";17  }18}19function real(name) {20  return new SQLiteRealBuilder(name ?? "");21}22export {23  SQLiteReal,24  SQLiteRealBuilder,25  real26};27//# sourceMappingURL=real.js.map