izniburak/pdox

INSERT IGNORE INTO is better than INSERT INTO

shaobingme opened this issue · 1 comments

Use the INSERT IGNORE command rather than the INSERT command. If a record doesn't duplicate an existing record, then MySQL inserts it as usual. If the record is a duplicate, then the IGNORE keyword tells MySQL to discard it silently without generating an error.

Hi,
You can use query method for specific queries.