drizzle-orm
Version:
Drizzle ORM package for SQL databases
14 lines (13 loc) • 429 B
text/typescript
import { entityKind } from "../entity.cjs";
export interface PgRoleConfig {
createDb?: boolean;
createRole?: boolean;
inherit?: boolean;
}
export declare class PgRole implements PgRoleConfig {
readonly name: string;
static readonly [entityKind]: string;
constructor(name: string, config?: PgRoleConfig);
existing(): this;
}
export declare function pgRole(name: string, config?: PgRoleConfig): PgRole;