PHP 7.4.33
Preview: driver.d.ts Size: 1.68 KB
/var/www/gtechmarathon2026.bitkit.dk/httpdocs/node_modules/drizzle-orm/vercel-postgres/driver.d.ts
import { sql } from '@vercel/postgres';
import { entityKind } from "../entity.js";
import type { Logger } from "../logger.js";
import { PgDatabase } from "../pg-core/db.js";
import { PgDialect } from "../pg-core/index.js";
import { type RelationalSchemaConfig, type TablesRelationalConfig } from "../relations.js";
import { type DrizzleConfig } from "../utils.js";
import { type VercelPgClient, type VercelPgQueryResultHKT, VercelPgSession } from "./session.js";
export interface VercelPgDriverOptions {
    logger?: Logger;
}
export declare class VercelPgDriver {
    private client;
    private dialect;
    private options;
    static readonly [entityKind]: string;
    constructor(client: VercelPgClient, dialect: PgDialect, options?: VercelPgDriverOptions);
    createSession(schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined): VercelPgSession<Record<string, unknown>, TablesRelationalConfig>;
}
export declare class VercelPgDatabase<TSchema extends Record<string, unknown> = Record<string, never>> extends PgDatabase<VercelPgQueryResultHKT, TSchema> {
    static readonly [entityKind]: string;
}
export declare function drizzle<TSchema extends Record<string, unknown> = Record<string, never>, TClient extends VercelPgClient = typeof sql>(...params: [] | [
    TClient
] | [
    TClient,
    DrizzleConfig<TSchema>
] | [
    (DrizzleConfig<TSchema> & ({
        client?: TClient;
    }))
]): VercelPgDatabase<TSchema> & {
    $client: TClient;
};
export declare namespace drizzle {
    function mock<TSchema extends Record<string, unknown> = Record<string, never>>(config?: DrizzleConfig<TSchema>): VercelPgDatabase<TSchema> & {
        $client: '$client is not available on drizzle.mock()';
    };
}

Directory Contents

Dirs: 0 × Files: 24
Name Size Perms Modified Actions
3.20 KB lrw-r--r-- 2025-07-10 12:54:57
Edit Download
4.83 KB lrw-r--r-- 2025-07-10 12:54:59
Edit Download
1.69 KB lrw-r--r-- 2025-07-10 12:54:59
Edit Download
1.68 KB lrw-r--r-- 2025-07-10 12:55:00
Edit Download
2.00 KB lrw-r--r-- 2025-07-10 12:54:59
Edit Download
4.83 KB lrw-r--r-- 2025-07-10 12:54:59
Edit Download
1.22 KB lrw-r--r-- 2025-07-10 12:54:58
Edit Download
229 B lrw-r--r-- 2025-07-10 12:54:59
Edit Download
61 B lrw-r--r-- 2025-07-10 12:54:59
Edit Download
59 B lrw-r--r-- 2025-07-10 12:55:00
Edit Download
92 B lrw-r--r-- 2025-07-10 12:54:59
Edit Download
190 B lrw-r--r-- 2025-07-10 12:54:59
Edit Download
1.26 KB lrw-r--r-- 2025-07-10 12:54:58
Edit Download
693 B lrw-r--r-- 2025-07-10 12:54:59
Edit Download
255 B lrw-r--r-- 2025-07-10 12:54:59
Edit Download
253 B lrw-r--r-- 2025-07-10 12:55:00
Edit Download
259 B lrw-r--r-- 2025-07-10 12:54:59
Edit Download
654 B lrw-r--r-- 2025-07-10 12:54:59
Edit Download
7.09 KB lrw-r--r-- 2025-07-10 12:54:58
Edit Download
11.86 KB lrw-r--r-- 2025-07-10 12:55:00
Edit Download
3.24 KB lrw-r--r-- 2025-07-10 12:54:59
Edit Download
3.23 KB lrw-r--r-- 2025-07-10 12:55:00
Edit Download
5.59 KB lrw-r--r-- 2025-07-10 12:54:59
Edit Download
11.85 KB lrw-r--r-- 2025-07-10 12:55:00
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).