Files
Gemini-Search/node_modules/drizzle-orm/pg-core/roles.d.ts
Ammaar Reshi d6025af146 Initial commit
2025-01-04 14:06:53 +00:00

14 lines
428 B
TypeScript

import { entityKind } from "../entity.js";
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;