amatsuda / database_rewinder

minimalist's tiny and ultra-fast database cleaner
MIT License
807 stars 91 forks source link

Fix regexp for INSERT IGNORE INTO statement #31

Closed eagletmt closed 9 years ago

eagletmt commented 9 years ago

Such query is issued from Foo.import(foos, ignore: true) with activerecord-import gem.

amatsuda commented 9 years ago

Awww... yeah, this might happen... and maybe we should support more variations such as MERGE INTO, INSERT OR REPLACE INTO, etcetc...