[wp-trac] [WordPress Trac] #29178: Using WP_Query only for result of SQL_CALC_FOUND_ROWS
WordPress Trac
noreply at wordpress.org
Fri Feb 13 03:19:06 UTC 2015
#29178: Using WP_Query only for result of SQL_CALC_FOUND_ROWS
-------------------------------------+-----------------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback close | Focuses:
-------------------------------------+-----------------------------
Changes (by helen):
* keywords: needs-patch needs-unit-tests => reporter-feedback close
Comment:
If you want to run those numbers for `COUNT`, that would be cool. Boone is
correct, though - `SQL_CALC_FOUND_ROWS` and `FOUND_ROWS()` will be two
queries.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29178#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list