Hello!

Is there some way to do insert-or-update operation (that is, roughly, to be able to register an object with possibly existing primary key(s) and let it be written regardless?

Thanks, Herby

P.S.: Use case - I want to have log of USER-DEVICE pairing with last timestamp and 'enabled' field that would be set to false once push notification fails - but set to true once user actually logs from the device (again). I don't want to have many historical records, so I want to have USER+DEVICE to be a composed primary key. Which means it is inserted first time, but possibly updated later.

Reply via email to