[wp-trac] [WordPress Trac] #42883: Use sargable queries for date-based lookups for posts

WordPress Trac noreply at wordpress.org
Wed Feb 7 21:18:02 UTC 2018


#42883: Use sargable queries for date-based lookups for posts
------------------------------------+-----------------------------
 Reporter:  ComputerGuru            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Query                   |     Version:  3.7
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  performance
------------------------------------+-----------------------------
Changes (by Mte90):

 * keywords:  needs-patch good-first-bug => has-patch dev-feedback


Comment:

 With @eatzeni (https://profiles.wordpress.org/eatzeni) we tried to
 investigate together starting from a code by him.
 At the end we chosen an approach to do a specific method to build a
 compare part of the query.
 We are looking for feedback, but in any case the unit tests are not
 causing any errors but I cannot estimate the time of running the unit
 tests because seems that at every run the value change.

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


More information about the wp-trac mailing list