S
S
sirinotapple2022-03-27 13:08:50
PostgreSQL
sirinotapple, 2022-03-27 13:08:50

How to insert data into a table with auto insert/update?

Hello, the main field in the id table,
I want data to be inserted into the table if there is no such id
, but updated if there is.
What command to do this

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2022-03-27
@sirinotapple

UPSERT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question