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

Implement insertOrIgnore #772

Open
nmalcolm opened this issue Feb 25, 2023 · 1 comment
Open

Implement insertOrIgnore #772

nmalcolm opened this issue Feb 25, 2023 · 1 comment

Comments

@nmalcolm
Copy link

Summary of problem or feature request

Oracle doesn't support a syntax such as INSERT IGNORE but since 11g there's a ignore_row_on_dupkey_index hint. I've tried to implement it myself but the comment seems to get stripped. There's also MERGE which might be useful here.

https://stackoverflow.com/questions/9332360/oracle-equivalent-to-mysql-insert-ignore

@yajra
Copy link
Owner

yajra commented Feb 28, 2023

Laravel docs ref: https://laravel.com/docs/10.x/queries#insert-statements

Will try to implement this feature when I got the chance. Please do not hesitate to submit a PR if you can. Thanks!

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

No branches or pull requests

2 participants