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

Equivalent of Repo.insert options for "on_conflict: :replace_all, conflict_target:" #32

Closed
seymores opened this issue Oct 2, 2017 · 2 comments

Comments

@seymores
Copy link

seymores commented Oct 2, 2017

I have a need to use the on_conflict option, but I think PaperTrail is not supporting yet.
My insert with option looks like below.
Is there something equivalent I can use in PaperTrail for this?

Repo.insert(on_conflict: :replace_all, conflict_target: :item_id)
@izelnakri
Copy link
Owner

I probably need to see the implementation with test cases to understand what is actually missing and could be implemented.

I'm looking forward to your pull request if this is bugging you. Thanks.

@izelnakri
Copy link
Owner

I've just closed this issue since there is no specifications. I'm willing to reopen it when its specified.

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