Page MenuHomePhabricator

Replace raw SQL with a builder for the sub-query on ZObjectAlphabeticPager::getQueryInfo()
Open, MediumPublic

Description

We're using raw SQL strings rather than SQLPlatform->selectSQLText(), because we couldn't see how to use ROW_NUMBER() OVER PARTITION BY. Is this feature unavailable?

Event Timeline

You should be able to use that as a raw sql in condition or select by wrapping it around RawSQLExpression.