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

WordPress Trac noreply at wordpress.org
Wed Feb 20 09:43:09 UTC 2019


#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           |   Keywords:  has-patch
  Focuses:                   |
-----------------------------+-----------------------------
 It's a very useful query, and easy to add to the core. Its usage would be
 less error prone, and code a lot DRYer if it were officially supported.

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


More information about the wp-trac mailing list