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

Support for INSERT ON DUPLICATE KEY / INSERT IGNORE #44

Closed
dfontenot opened this issue Apr 15, 2022 · 1 comment
Closed

Support for INSERT ON DUPLICATE KEY / INSERT IGNORE #44

dfontenot opened this issue Apr 15, 2022 · 1 comment

Comments

@dfontenot
Copy link

Hello,

Is there any planned support for INSERT ... ON DUPLICATE KEY IGNORE / UPDATE using the query builder? Or am I missing something in the docs?

Also, thank you for making this great library.

@darkredz
Copy link
Owner

It's available in v1.4.0 with onDuplicateUpdate() and insert() methods
check out example at

it("should match insert...on duplicate key update parameterized sql when passing Query object") {

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