Timeline for Can I update old data and insert new data if not exists currently in a single query
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 10, 2020 at 21:16 | comment | added | kabuto178 | The answer is accepted, however can this be used in a trigger of some sort. Lets say I try to insert on the table itself, can I set a trigger function with this query to run on INSERT? | |
May 10, 2020 at 14:23 | vote | accept | kabuto178 | ||
May 10, 2020 at 8:36 | history | edited | Vérace | CC BY-SA 4.0 |
added 11 characters in body
|
May 10, 2020 at 7:13 | comment | added | kabuto178 | Thanks for being so thorough, I am still a bit new to Postgresql so this is helpful. Hopefully it helps others with similar situations | |
May 10, 2020 at 6:01 | history | answered | Vérace | CC BY-SA 4.0 |