Hello,
in MySQL heißt die Erweiterung des INSERT-Statements "ON DUPLICATE KEY UPDATE". Offenbar unterstützt SQL-Lite eine entsprechende Option für das Create des Tables: id PRIMARY KEY ON CONFLICT [IGNORE|REPLACE]
Ich würde dann zur Replace, Variante tendieren, aber das musst du entscheiden.
MfG
Rouven
--
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
Don't lick your wounds: celebrate them. The scars you bear are the signs of a competitor. -- character Richard Webber on Grey's Anatomy: 'Where the wild things are'
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
Don't lick your wounds: celebrate them. The scars you bear are the signs of a competitor. -- character Richard Webber on Grey's Anatomy: 'Where the wild things are'