comparison pkg/models/sr.go @ 4969:5621586e7a54 fairway-marks-import

Avoid checking the same condition twice An entry should either be UPDATEd or INSERTed, if it's not already in the database. Thus simply INSERT if there was no UPDATE.
author Tom Gottfried <tom@intevation.de>
date Fri, 28 Feb 2020 17:55:55 +0100
parents 98e2041c7ebf
children 85f19e924a43
comparison
equal deleted inserted replaced
4968:1ba11ade2cf3 4969:5621586e7a54