UNPKG

drizzle-orm

Version:

Drizzle ORM package for SQL databases

31 lines 601 B
import { entityKind } from "../entity.js"; class CheckBuilder { constructor(name, value) { this.name = name; this.value = value; } static [entityKind] = "SQLiteCheckBuilder"; brand; build(table) { return new Check(table, this); } } class Check { constructor(table, builder) { this.table = table; this.name = builder.name; this.value = builder.value; } static [entityKind] = "SQLiteCheck"; name; value; } function check(name, value) { return new CheckBuilder(name, value); } export { Check, CheckBuilder, check }; //# sourceMappingURL=checks.js.map