You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
live: collapse capture to a single image column, drop the side map
The before/after naming was cosmetic — the matcher only consumes the
union of (col, value) pairs, so one __typegres_live_image column serves
the mutation RETURNING and the update pre-select alike. imageReturning
takes just the table name; RETURNING_SIDE is gone; the strip/push loop
unifies into one pushImage helper.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
sql`SELECT ${buildImageJson(instanceas{[c: string]: unknown})} AS ${newIdent(T_LIVE_BEFORE)} FROM ${database.scopedIdent(builder.tableName)} AS ${alias} WHERE ${whereClause}`,
86
+
sql`SELECT ${buildImageJson(instanceas{[c: string]: unknown})} AS ${newIdent(T_LIVE_IMAGE)} FROM ${database.scopedIdent(builder.tableName)} AS ${alias} WHERE ${whereClause}`,
86
87
);
87
88
};
88
89
@@ -92,13 +93,6 @@ export type MutationBuilder =
92
93
|UpdateBuilder<any,any,any>
93
94
|DeleteBuilder<any,any,any>;
94
95
95
-
// Which image the mutation's own RETURNING can carry.
0 commit comments