data-import
data-import copied to clipboard
"merge" mode?
Hi, I'm really enjoying using this library, makes my life easier. One thing I'm not sure though, is if any "merge" mode exists, because default or :unique create new records and :update, well updates. But there is no mode for "insert if not existing, otherwise update".
Is this supported?
Thanks
Hi, I'm really happy to hear that. Unfortunately what you seek doesn't exist yet. The supported modes are create
, update
and unique
. In the past I had no use for the mode you describe above. But you're welcome to collaborate on this library. Put your code in a pull request and I take a look at it. I'd really appreciate that.