This database engine does not support upserts.
nipeco opened this issue · 1 comments
nipeco commented
Hey there. Great package and I love to use it.
I am using Oracle database with the latest version of laravel-settings and get the following error: This database engine does not support upserts.
Is it possible to update the settings repository without using upserts? It depends hard on the database engine if this feature is available. For example Eloquents updateOrCreate works perfect even on Oracle database.
Best regards
Niels
rubenvanassche commented
Hi @nipeco,
We at Spatie don't use Oracle databases so at the moment we don't support this. You're always welcome to send in a tested PR which adds this functionality like you explained. I would see it as a feature which can be enabled in the config of the repository.