When doing upserts in PostgreSQL 9.5+ you must refer to the excluded data (that which failed to insert) by the alias excluded . Also, the on conflict option ...
確定! 回上一頁