jakob / jakob/Postico

CSV Import: Add support for UPSERT

Open
#807 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
485
Forks
8
PR merge metrics
No merged PRs in 30d

Description

It would be nice if the CSV Import supported different import modes:

- INSERT (what we do now)
- UPDATE (update existing rows)
- INSERT ON CONFLICT UPDATE / UPSERT (insert rows, when value exists update instead)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names the CSV Import entry point but no files or tests. Start by locating the existing CSV import flow and its INSERT handling, then determine how UPDATE and INSERT ON CONFLICT UPDATE should be selected and verified. Done means all three modes work without ambiguity.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.