Manual:Hooks/ModifyExportQuery/en

Details

 * $db - The database object to be queried.
 * &$tables - Tables in the query.
 * &$cond - An SQL fragment included in the WHERE clause which is used to filter the results
 * &$opts - Options for the query.
 * &$join_conds - Join conditions for the query.
 * &$conds - Conditions in the query.