We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
update
1 parent 9bb7986 commit 3b9c821Copy full SHA for 3b9c821
src/generated/upsert.ts
@@ -14,6 +14,7 @@ import {
14
PgInsertBuilder,
15
PgInsertSelectQueryBuilder,
16
PgInsertValue,
17
+ PgUpdateSetSource,
18
QueryBuilder,
19
WithSubqueryWithSelection,
20
} from 'drizzle-orm/pg-core'
@@ -61,7 +62,7 @@ export type PgUpsertSelectQuery<TTable extends Table> =
61
62
type DBUpsertUpdateFn<TTable extends Table> = (tables: {
63
current: TTable['_']['columns']
64
excluded: TTable['_']['columns']
-}) => Partial<PgInsertValue<TTable>>
65
+}) => Partial<PgUpdateSetSource<TTable>>
66
67
export interface DBUpsertConfig<
68
TMode extends 'one' | 'many',
0 commit comments