You are here

114 calls to db_select() in Drupal 7

actions_do in includes/actions.inc
Performs a given list of actions by executing their callback functions.
AggregatorUpdatePathTestCase::testAggregatorUpdate in modules/simpletest/tests/upgrade/update.aggregator.test
Tests that the aggregator.module update is successful.
aggregator_feed_items_load in modules/aggregator/aggregator.pages.inc
Loads and optionally filters feed items.
book_get_books in modules/book/book.module
Returns an array of all books.
book_menu_subtree_data in modules/book/book.module
Gets the data representing a subtree of the book hierarchy.
book_update_bid in modules/book/book.module
Updates the book ID of a page and its children when it moves to a new book.
comment_enable in modules/comment/comment.install
Implements hook_enable().
comment_form_validate in modules/comment/comment.module
Validate comment form submissions.
comment_get_display_ordinal in modules/comment/comment.module
Get the display ordinal for a comment, starting from 0.
comment_get_recent in modules/comment/comment.module
Find the most recent comments that are available to the current user.
comment_get_thread in modules/comment/comment.module
Retrieve comments for a thread.
comment_update_7006 in modules/comment/comment.install
Migrate data from the comment field to field storage.
DatabaseAlterTestCase::testAlterChangeConditional in modules/simpletest/tests/database_test.test
Test that we can alter a query's conditionals.
DatabaseAlterTestCase::testAlterChangeFields in modules/simpletest/tests/database_test.test
Test that we can alter the fields of a query.
DatabaseAlterTestCase::testAlterExpression in modules/simpletest/tests/database_test.test
Test that we can alter expressions in the query.
DatabaseAlterTestCase::testAlterRemoveRange in modules/simpletest/tests/database_test.test
Test that we can remove a range() value from a query. This also tests hook_query_TAG_alter().
DatabaseAlterTestCase::testAlterWithJoin in modules/simpletest/tests/database_test.test
Test that we can alter the joins on a query.
DatabaseAlterTestCase::testSimpleAlter in modules/simpletest/tests/database_test.test
Test that we can do basic alters.
DatabaseAlterTestCase::testSimpleAlterSubquery in modules/simpletest/tests/database_test.test
Test that we can do basic alters on subqueries.
DatabaseInsertTestCase::testInsertSelectFields in modules/simpletest/tests/database_test.test
Test that the INSERT INTO ... SELECT (fields) ... syntax works.
DatabaseSelectCloneTest::testSelectConditionSubQueryCloning in modules/simpletest/tests/database_test.test
Test that subqueries as value within conditions are cloned properly.
DatabaseSelectComplexTestCase2::testJoinSubquery in modules/simpletest/tests/database_test.test
Test that we can join on a query.
DatabaseSelectComplexTestCase::testCountQuery in modules/simpletest/tests/database_test.test
Test that we can generate a count query from a built query.
DatabaseSelectComplexTestCase::testCountQueryDistinct in modules/simpletest/tests/database_test.test
Test that we can generate a count query from a query with distinct.
DatabaseSelectComplexTestCase::testCountQueryFieldRemovals in modules/simpletest/tests/database_test.test
Test that countQuery properly removes fields and expressions.
DatabaseSelectComplexTestCase::testCountQueryGroupBy in modules/simpletest/tests/database_test.test
Test that we can generate a count query from a query with GROUP BY.
DatabaseSelectComplexTestCase::testCountQueryRemovals in modules/simpletest/tests/database_test.test
Test that countQuery properly removes 'all_fields' statements and ordering clauses.
DatabaseSelectComplexTestCase::testDefaultJoin in modules/simpletest/tests/database_test.test
Test simple JOIN statements.
DatabaseSelectComplexTestCase::testDistinct in modules/simpletest/tests/database_test.test
Test distinct queries.
DatabaseSelectComplexTestCase::testGroupBy in modules/simpletest/tests/database_test.test
Test GROUP BY clauses.
DatabaseSelectComplexTestCase::testGroupByAndHaving in modules/simpletest/tests/database_test.test
Test GROUP BY and HAVING clauses together.
DatabaseSelectComplexTestCase::testLeftOuterJoin in modules/simpletest/tests/database_test.test
Test LEFT OUTER joins.
DatabaseSelectComplexTestCase::testNestedConditions in modules/simpletest/tests/database_test.test
Confirm that we can properly nest conditional clauses.
DatabaseSelectComplexTestCase::testRange in modules/simpletest/tests/database_test.test
Test range queries. The SQL clause varies with the database.
DatabaseSelectOrderedTestCase::testSimpleSelectMultiOrdered in modules/simpletest/tests/database_test.test
Test multiple order by.
DatabaseSelectOrderedTestCase::testSimpleSelectOrdered in modules/simpletest/tests/database_test.test
Test basic order by.
DatabaseSelectOrderedTestCase::testSimpleSelectOrderedDesc in modules/simpletest/tests/database_test.test
Test order by descending.
DatabaseSelectPagerDefaultTestCase::testInnerPagerQuery in modules/simpletest/tests/database_test.test
Confirm that a pager query with inner pager query returns valid results.
DatabaseSelectSubqueryTestCase::testConditionSubquerySelect in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a WHERE clause.
DatabaseSelectSubqueryTestCase::testFromSubquerySelect in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a FROM clause.
DatabaseSelectSubqueryTestCase::testFromSubquerySelectWithLimit in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a FROM clause with a limit.
DatabaseSelectSubqueryTestCase::testJoinSubquerySelect in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a JOIN clause.
DatabaseSelectTestCase::testSelectDuplicateAlias in modules/simpletest/tests/database_test.test
Test that aliases are renamed when duplicates.
DatabaseSelectTestCase::testSimpleSelect in modules/simpletest/tests/database_test.test
Test rudimentary SELECT statements.
DatabaseSelectTestCase::testSimpleSelectConditional in modules/simpletest/tests/database_test.test
Test basic conditionals on SELECT statements.
DatabaseSelectTestCase::testSimpleSelectExpression in modules/simpletest/tests/database_test.test
Test SELECT statements with expressions.
DatabaseSelectTestCase::testSimpleSelectExpressionMultiple in modules/simpletest/tests/database_test.test
Test SELECT statements with multiple expressions.
DatabaseSerializeQueryTestCase::testSerializeQuery in modules/simpletest/tests/database_test.test
Confirm that a query can be serialized and unserialized.
DatabaseTaggingTestCase::testHasAllTags in modules/simpletest/tests/database_test.test
Test query tagging "has all of these tags" functionality.
DatabaseTaggingTestCase::testHasAnyTag in modules/simpletest/tests/database_test.test
Test query tagging "has at least one of these tags" functionality.
DatabaseTaggingTestCase::testHasTag in modules/simpletest/tests/database_test.test
Confirm that a query has a "tag" added to it.
DatabaseTaggingTestCase::testMetaData in modules/simpletest/tests/database_test.test
Test that we can attach meta data to a query object.
database_test_even_pager_query in modules/simpletest/tests/database_test.module
Run a pager query and return the results.
database_test_odd_pager_query in modules/simpletest/tests/database_test.module
Run a pager query and return the results.
database_test_tablesort in modules/simpletest/tests/database_test.module
Run a tablesort query and return the results.
database_test_tablesort_first in modules/simpletest/tests/database_test.module
Run a tablesort query with a second order_by after and return the results.
database_test_theme_tablesort in modules/simpletest/tests/database_test.module
Output a form without setting a header sort.
dblog_top in modules/dblog/dblog.admin.inc
Page callback: Shows the most frequent log messages of a given event type.
DrupalDatabaseCache::isEmpty in includes/cache.inc
Implements DrupalCacheInterface::isEmpty().
DrupalDefaultEntityController::buildQuery in includes/entity.inc
Builds the query to load the entity.
EntityFieldQuery::propertyQuery in includes/entity.inc
Queries entity tables in SQL for property conditions and sorts.
field_read_fields in modules/field/field.crud.inc
Reads in fields that match an array of conditions.
field_read_instances in modules/field/field.crud.inc
Reads in field instances that match an array of conditions.
field_sql_storage_field_storage_query in modules/field/modules/field_sql_storage/field_sql_storage.module
Implements hook_field_storage_query().
file_space_used in includes/file.inc
Determines total disk space used by a single user or the whole filesystem.
forum_forum_load in modules/forum/forum.module
Returns a tree of all forums for a given taxonomy term ID.
forum_get_topics in modules/forum/forum.module
Gets all the topics in a forum.
forum_node_load in modules/forum/forum.module
Implements hook_node_load().
forum_update_7001 in modules/forum/forum.install
Create new {forum_index} table.
hook_field_storage_query in modules/field/field.api.php
Execute an EntityFieldQuery.
LocaleTranslationFunctionalTest::testJavaScriptTranslation in modules/locale/locale.test
locale_batch_by_language in includes/locale.inc
Prepare a batch to import translations for all enabled modules in a given language.
menu_link_children_relative_depth in includes/menu.inc
Finds the depth of an item's children relative to its depth.
menu_link_get_preferred in includes/menu.inc
Looks up the preferred menu link for a given system path.
menu_link_load in includes/menu.inc
Gets a translated, access-checked menu link that is ready for rendering.
menu_tree_check_access in includes/menu.inc
Checks access and performs dynamic operations for each link in the tree.
node_access in modules/node/node.module
Determines whether the current user may perform the operation on the node.
node_access_view_all_nodes in modules/node/node.module
Determines whether the user has a global viewing grant for all nodes.
node_get_recent in modules/node/node.module
Finds the most recently changed nodes that are available to the current user.
node_update_7006 in modules/node/node.install
Convert body and teaser from node properties to fields, and migrate status/comment/promote and sticky columns to the {node_revision} table.
path_load in includes/path.inc
Fetches a specific URL alias from the database.
poll_block_view in modules/poll/poll.module
Implements hook_block_view().
poll_page in modules/poll/poll.pages.inc
Menu callback to provide a simple list of all polls available.
profile_field_form_validate in modules/profile/profile.admin.inc
Validate profile_field_form submissions.
SearchQuery::countQuery in modules/search/search.extender.inc
Builds the default count query for SearchQuery.
shortcut_current_displayed_set in modules/shortcut/shortcut.module
Returns the current displayed shortcut set for the provided user account.
statistics_title_list in modules/statistics/statistics.module
Returns the most viewed content of all time, today, or the last-viewed node.
statistics_top_pages in modules/statistics/statistics.admin.inc
Page callback: Displays statistics for the "top pages" (most accesses).
statistics_top_referrers in modules/statistics/statistics.admin.inc
Page callback: Displays the "top referrers" in the access logs.
statistics_top_visitors in modules/statistics/statistics.admin.inc
Page callback: Displays the "top visitors" page.
system_admin_menu_block in modules/system/system.module
Provide a single block on the administration overview page.
system_get_module_admin_tasks in modules/system/system.module
Generate a list of tasks offered by a specified module.
system_update_7061 in modules/system/system.install
Migrate upload.module data to the newly created file field.
system_update_7076 in modules/system/system.install
Convert menu_links query strings into arrays.
TaxonomyQueryAlterTestCase::testTaxonomyQueryAlter in modules/taxonomy/taxonomy.test
Tests that appropriate tags are added when querying the database.
taxonomy_autocomplete in modules/taxonomy/taxonomy.pages.inc
Page callback: Outputs JSON for taxonomy autocomplete suggestions.
taxonomy_get_children in modules/taxonomy/taxonomy.module
Finds all children of a term ID.
taxonomy_get_parents in modules/taxonomy/taxonomy.module
Finds all parents of a given term ID.
taxonomy_get_tree in modules/taxonomy/taxonomy.module
Create a hierarchical representation of a vocabulary.
taxonomy_select_nodes in modules/taxonomy/taxonomy.module
Return nodes attached to a term across all field instances.
taxonomy_tokens in modules/taxonomy/taxonomy.tokens.inc
Implements hook_tokens().
taxonomy_update_7005 in modules/taxonomy/taxonomy.install
Migrate {taxonomy_term_node} table to field storage.
tracker_cron in modules/tracker/tracker.module
Implements hook_cron().
user_admin_account in modules/user/user.admin.inc
Form builder; User administration page.
user_roles in modules/user/user.module
Retrieve an array of roles matching specified conditions.
user_role_save in modules/user/user.module
Save a user role to the database.
_block_load_blocks in modules/block/block.module
Loads blocks' information from the database.
_forum_topics_unread in modules/forum/forum.module
Calculates the number of new posts in a forum that the user has not yet read.
_image_update_7002_populate_dimensions in modules/image/image.install
Populate image dimensions in a specific table.
_locale_translate_seek in includes/locale.inc
Perform a string search and display results in a table
_menu_build_tree in includes/menu.inc
Builds a menu tree.
_menu_link_find_parent in includes/menu.inc
Finds a possible parent for a given menu link.
_menu_update_parental_status in includes/menu.inc
Checks and updates the 'has_children' status for the parent of a link.
_profile_get_fields in modules/profile/profile.module