UNPKG

drizzle-orm

Version:

Drizzle ORM package for SQL databases

27 lines 588 B
import { entityKind } from "../../entity.js"; import { PgColumn, PgColumnBuilder } from "./common.js"; class PgInetBuilder extends PgColumnBuilder { static [entityKind] = "PgInetBuilder"; constructor(name) { super(name, "string", "PgInet"); } /** @internal */ build(table) { return new PgInet(table, this.config); } } class PgInet extends PgColumn { static [entityKind] = "PgInet"; getSQLType() { return "inet"; } } function inet(name) { return new PgInetBuilder(name ?? ""); } export { PgInet, PgInetBuilder, inet }; //# sourceMappingURL=inet.js.map