https://bugzilla.wikimedia.org/show_bug.cgi?id=43253

--- Comment #5 from Sam Reed (reedy) <[email protected]> ---
> $sql = $dbr->selectSQLText( 'categorylinks', array( 'page_namespace' => 
> NS_CATEGORY, 'page_title' => 'cl_to' ), array( 'cl_from' => 1 ), __METHOD__, 
> array( 'LIMIT' => 10, 'ORDER BY' => 'cl_to' ) );

> var_dump( $sql );
string(118) "SELECT  14 AS page_namespace,cl_to AS page_title  FROM
`categorylinks`  WHERE cl_from = '1'  ORDER BY cl_to LIMIT 10  "


https://gerrit.wikimedia.org/r/39384

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to