[wp-trac] [WordPress Trac] #46287: Add insert_ignore() method to wpdb to avoid unecessary boilerplate code

WordPress Trac noreply at wordpress.org
Mon Nov 25 05:37:39 UTC 2024


#46287: Add insert_ignore() method to wpdb to avoid unecessary boilerplate code
-----------------------------+------------------------------
 Reporter:  lev0             |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Database         |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by lev0):

 I think it's only because WP itself doesn't use them. Odd considering it's
 supposed to be so extensible but is missing a couple of basic query types
 that site & plugin developers could really use (this one and [ticket:22196
 upsert]).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46287#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list