Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drizzle/pg-core/columns.ts>pgEnum

Deno port of the drizzle-orm library
Latest
function pgEnum
import { pgEnum } from "https://deno.land/x/drizzle@v0.23.85/pg-core/columns.ts";

Type Parameters

U extends string
T extends Readonly<[U, ...U[]]>

Parameters

enumName: string
values: T | Writable<T>