Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
27 lines
640 B
Plaintext
27 lines
640 B
Plaintext
import { entityKind } from "../../entity.js";
|
|
import { SQLiteColumn, SQLiteColumnBuilder } from "./common.js";
|
|
class SQLiteRealBuilder extends SQLiteColumnBuilder {
|
|
static [entityKind] = "SQLiteRealBuilder";
|
|
constructor(name) {
|
|
super(name, "number", "SQLiteReal");
|
|
}
|
|
/** @internal */
|
|
build(table) {
|
|
return new SQLiteReal(table, this.config);
|
|
}
|
|
}
|
|
class SQLiteReal extends SQLiteColumn {
|
|
static [entityKind] = "SQLiteReal";
|
|
getSQLType() {
|
|
return "real";
|
|
}
|
|
}
|
|
function real(name) {
|
|
return new SQLiteRealBuilder(name ?? "");
|
|
}
|
|
export {
|
|
SQLiteReal,
|
|
SQLiteRealBuilder,
|
|
real
|
|
};
|
|
//# sourceMappingURL=real.js.map |