Manual:Hooks/ModifyExportQuery

Details

 * $db: The database object to be queried.
 * &$tables: Tables in the query.
 * &$conds: Conditions in the query.
 * &$opts: Options for the query.
 * &$join_conds: Join conditions for the query.