[wp-hackers] INSERT IGNORE for $wpdb?

Ryan McCue lists at rotorised.com
Tue Nov 12 03:13:17 UTC 2013


BenderisGreat wrote:
> Anyway to use this with wordpress?

$wpdb->query('INSERT IGNORE ...');

http://codex.wordpress.org/Class_Reference/wpdb#Run_Any_Query_on_the_Database

http://wordpress.stackexchange.com/questions/96321/wpdb-insert-database-error-duplicate-entry-error-logging

Please make sure you search before posting on the mailing list. Keep in
mind that messages here go out to a lot of people. Questions like these
are probably better asked on WPSE anyway:

http://wordpress.stackexchange.com/

-- 
Ryan McCue
<http://ryanmccue.info/>


More information about the wp-hackers mailing list