builk_create upsert seems to be broken
I have the following create in my resource:
the
Just so you know, the
If I try to insert a row with the same
Now, if I try to do the same, but with a
the
upsert_identity comes from this identity:Just so you know, the
:uid field is not a primary key.If I try to insert a row with the same
uid as one that already exists in the DB using the create funciton, it works as expected and I get the ON CONFLICT ("uid") in the SQL query.Now, if I try to do the same, but with a
bulk_create call, the resulti SQL query will contain ON CONFLICT ("id"), in other words, it uses id instead of uid which was set by the upsert_identity function.