WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#46287 new feature request

Add insert_ignore() method to wpdb to avoid unecessary boilerplate code

Reported by: lev0 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Database Keywords: has-patch
Focuses: Cc:
PR Number:

Description

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.

Attachments (1)

wp-db-insert-ignore.patch (2.7 KB) - added by lev0 8 months ago.

Download all attachments as: .zip

Change History (2)

#1 @pento
8 months ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.