PHP SQLITE - How to insert new records and update existing records conditionally -


trying wrap head around this. posting data sqlite db , insert records if not exist, , update existing records if requirements met (basically if 1 field has changed values). not sure how this. i've seen examples using on duplicate key, updates records when there duplicate. need check change before updating.

any ideas?


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -