Privatemsg does use its own simple query builder which allows to extend
SELECT-Queries in an easy way. The function _privatemsg_assemble_query
creates the query, based on an array $fragments with the following content.
Except primary_table, each key…
1 function implements hook_privatemsg_sql_list_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.