@suluk/drizzle - v0.1.6
    Preparing search index...

    Interface ClaimDb

    Minimal drizzle handle for a conditional update (bun:sqlite sync or D1 async — both awaited).

    interface ClaimDb {
        update: (
            table: unknown,
        ) => {
            set: (
                values: Record<string, unknown>,
            ) => {
                where: (cond: SQL) => { run: () => unknown; returning: () => unknown };
            };
        };
    }
    Index

    Properties

    Properties

    update: (
        table: unknown,
    ) => {
        set: (
            values: Record<string, unknown>,
        ) => {
            where: (cond: SQL) => { run: () => unknown; returning: () => unknown };
        };
    }