Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This database engine does not support upserts. #247

Closed
nipeco opened this issue Dec 2, 2023 · 1 comment
Closed

This database engine does not support upserts. #247

nipeco opened this issue Dec 2, 2023 · 1 comment

Comments

@nipeco
Copy link

nipeco commented Dec 2, 2023

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants