DP-3T / dp3t-sdk-backend

The backend implementation for DP3T
Mozilla Public License 2.0
199 stars 87 forks source link

Replace Upsert with Insert when adding keys #245

Open ubamrein opened 4 years ago

ubamrein commented 4 years ago

Currently, we update or insert an exposed key in the database. We don't see any reason, why an update should be necessary and propose to replace all key upsert statements with simple inserts (with no action if the key exists).

ineiti commented 4 years ago

Would help me not asking questions about what upsert is ;)