comparison pkg/models/extservices.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 cabf4789e02b
children 5f47eeea988d
comparison
equal deleted inserted replaced
4968:1ba11ade2cf3 4969:5621586e7a54