| db_fetch_object | includes/database.pgsql.inc | Fetch one result row from the previous query as an object. |
| db_query | includes/database.inc | Runs a basic query in the active database. |
| db_rewrite_sql | includes/database.inc | Rewrites node, taxonomy and comment queries. Use it for listing queries. Do not
use FROM table1, table2 syntax, use JOIN instead. |
| taxonomy_term_count_nodes | modules/taxonomy.module | Given a term id, count the number of published nodes in it. |
| _taxonomy_term_children | modules/taxonomy.module | Helper for taxonomy_term_count_nodes(). |