HomePhabricator

rdbms: make selectRowCount() use $var argument to exclude NULLs

Description

rdbms: make selectRowCount() use $var argument to exclude NULLs

If the $var argument is provided, then it will make the resulting
count exclude rows where the value for that column is NULL.

Also add buildSelectSubquery() method and Subquery
wrapper class for use with select() for calculated tables.

Change-Id: I549d629af99afdf370602de095f7fba6d1546c37

Details

Provenance
aaronAuthored on Feb 15 2018, 3:46 AM
Parents
rMW1f64fa48d397: api: Restore fractions for default siprop=dbreplag response
Branches
Unknown
Tags
Unknown
ChangeId
I549d629af99afdf370602de095f7fba6d1546c37