feat: fallback to ctid for editing tables without primary key

When a table has no PRIMARY KEY, use PostgreSQL's ctid (physical row ID)
to identify rows for UPDATE/DELETE operations instead of blocking edits.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-18 16:14:26 +03:00
parent e76a96deb8
commit baa794b66a
5 changed files with 133 additions and 52 deletions

View File

@@ -30,6 +30,7 @@ export interface PaginatedQueryResult extends QueryResult {
total_rows: number;
page: number;
page_size: number;
ctids: string[];
}
export interface SchemaObject {