Related topics

Namesort iconDescription
Database abstraction layerAllow the use of different database servers using the same code base.

Functions that call db_rewrite_sql()

Namesort iconLocationDescription
block_listdrupal/modules/block/block.moduleReturn all blocks in the specified region for the current user.
blogapi_mt_validate_termsdrupal/modules/blogapi/blogapi.moduleBlogging API helper - find allowed taxonomy terms for a node type.
blog_block_viewdrupal/modules/blog/blog.moduleImplementation of hook_block_view().
blog_feed_lastdrupal/modules/blog/blog.pages.incMenu callback; displays an RSS feed containing recent blog entries of all users.
blog_feed_userdrupal/modules/blog/blog.pages.incMenu callback; displays an RSS feed containing recent blog entries of a given user.
blog_page_lastdrupal/modules/blog/blog.pages.incMenu callback; displays a Drupal page containing recent blog entries of all users.
blog_page_userdrupal/modules/blog/blog.pages.incMenu callback; displays a Drupal page containing recent blog entries of a given user.
book_get_booksdrupal/modules/book/book.moduleReturns an array of all books.
book_menudrupal/modules/book/book.moduleImplementation of hook_menu().
book_nextdrupal/modules/book/book.moduleFetches the menu link for the next page of the book.
book_prevdrupal/modules/book/book.moduleFetches the menu link for the previous page of the book.
book_tocdrupal/modules/book/book.moduleReturns an array of book pages in table of contents order.
comment_get_recentdrupal/modules/comment/comment.moduleFind the most recent comments that are available to the current user.
comment_renderdrupal/modules/comment/comment.moduleRenders comment(s).
forum_block_viewdrupal/modules/forum/forum.moduleImplementation of hook_block_view().
forum_get_forumsdrupal/modules/forum/forum.moduleReturns a list of all forums for a given taxonomy id
forum_term_loaddrupal/modules/forum/forum.moduleFetch a forum term.
menu_tree_check_accessdrupal/includes/menu.incCheck access and perform other dynamic operations for each link in the tree.
node_admin_nodesdrupal/modules/node/node.admin.incForm builder: Builds the node administration overview.
node_feeddrupal/modules/node/node.moduleA generic function for generating RSS feeds from a set of nodes.
node_page_defaultdrupal/modules/node/node.moduleMenu callback; Generate a listing of promoted nodes.
poll_block_viewdrupal/modules/poll/poll.moduleImplementation of hook_block_view().
poll_pagedrupal/modules/poll/poll.pages.incMenu callback to provide a simple list of all polls available.
statistics_title_listdrupal/modules/statistics/statistics.moduleReturns all time or today top or last viewed node(s).
taxonomy_autocompletedrupal/modules/taxonomy/taxonomy.pages.incHelper function for autocompletion
taxonomy_form_alterdrupal/modules/taxonomy/taxonomy.moduleImplementation of hook_form_alter(). Generate a form for selecting terms to associate with a node. We check for taxonomy_override_selector before loading the full vocabulary, so contrib modules can intercept before hook_form_alter and provide scalable...
taxonomy_get_childrendrupal/modules/taxonomy/taxonomy.moduleFind all children of a term ID.
taxonomy_get_parentsdrupal/modules/taxonomy/taxonomy.moduleFind all parents of a given term ID.
taxonomy_get_term_by_namedrupal/modules/taxonomy/taxonomy.moduleTry to map a string to an existing term, as for glossary use.
taxonomy_get_treedrupal/modules/taxonomy/taxonomy.moduleCreate a hierarchical representation of a vocabulary.
taxonomy_get_vocabulariesdrupal/modules/taxonomy/taxonomy.moduleReturn an array of all vocabulary objects.
taxonomy_node_get_termsdrupal/modules/taxonomy/taxonomy.moduleFind all terms associated with the given node, ordered by vocabulary and term weight.
taxonomy_node_get_terms_by_vocabularydrupal/modules/taxonomy/taxonomy.moduleFind all terms associated with the given node, within one vocabulary.
taxonomy_overview_termsdrupal/modules/taxonomy/taxonomy.admin.incForm builder for the taxonomy terms overview.
taxonomy_select_nodesdrupal/modules/taxonomy/taxonomy.moduleFinds all nodes that match selected taxonomy conditions.
taxonomy_term_count_nodesdrupal/modules/taxonomy/taxonomy.moduleCount the number of published nodes classified by a term.
taxonomy_term_pagedrupal/modules/taxonomy/taxonomy.pages.incMenu callback; displays all nodes associated with a term.
template_preprocess_forum_topic_navigationdrupal/modules/forum/forum.modulePreprocess variables to format the next/previous forum topic navigation links.
tracker_pagedrupal/modules/tracker/tracker.pages.incMenu callback. Prints a listing of active nodes on the site.
translation_node_get_translationsdrupal/modules/translation/translation.moduleGet all nodes in a translation set, represented by $tnid.
_block_load_blocksdrupal/modules/block/block.moduleLoad blocks information from the database.
_blog_post_existsdrupal/modules/blog/blog.moduleHelper function to determine if a user has blog posts already.
_forum_topics_unreaddrupal/modules/forum/forum.moduleCalculate the number of nodes the user has not yet read and are newer than NODE_NEW_LIMIT.
_node_types_builddrupal/modules/node/node.moduleBuilds and returns the list of available node types.

Functions called by db_rewrite_sql()

Namesort iconLocationDescription
db_distinct_fielddrupal/includes/database/database.incWraps the given table.field entry with a DISTINCT(). The wrapper is added to the SELECT list entry of the given query and the resulting query is returned. This function only applies the wrapper if a DISTINCT doesn't already exist in the query.
_db_rewrite_sqldrupal/includes/database/database.incHelper function for db_rewrite_sql.