Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for where

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
MergeQuery::where function core/includes/database/query.inc Implements QueryConditionInterface::where().
DeleteQuery::where function core/includes/database/query.inc Implements QueryConditionInterface::where().
UpdateQuery::where function core/includes/database/query.inc Implements QueryConditionInterface::where().
SelectQuery::where function core/includes/database/select.inc Implements QueryConditionInterface::where().
SelectQuery::$where property core/includes/database/select.inc The conditional object for the WHERE clause.
DatabaseCondition::where function core/includes/database/query.inc Implements QueryConditionInterface::where().
SelectQueryExtender::where function core/includes/database/select.inc Adds an arbitrary WHERE clause to the query.
QueryConditionInterface::where function core/includes/database/query.inc Adds an arbitrary WHERE clause to the query.
date_sql_handler::sql_where_date function core/modules/date/views/date_sql_handler.inc Creates a where clause to compare a complete date field to a date value.
date_sql_handler::sql_where_format function core/modules/date/views/date_sql_handler.inc Create a where clause to compare a formatted field to a formatted value.
views_plugin_query::set_where_group function core/modules/views/plugins/views_plugin_query.inc Create a new grouping for the WHERE or HAVING clause.
date_sql_handler::sql_where_extract function core/modules/date/views/date_sql_handler.inc Creates a where clause comparing an extracted date part to an integer.
views_plugin_query_default::add_where function core/modules/views/plugins/views_plugin_query_default.inc Add a simple WHERE clause to the query. The caller is responsible for ensuring that all fields are fully qualified (TABLE.FIELD) and that the table already exists in the query.
DatabaseUpdateTestCase::testWhereUpdate function core/modules/simpletest/tests/database_test.test Confirm that we can update a multiple records with a where call.
views_plugin_query_default::get_where_args function core/modules/views/plugins/views_plugin_query_default.inc Get the arguments attached to the WHERE and HAVING clauses of this query.
views_plugin_query_default::add_where_expression function core/modules/views/plugins/views_plugin_query_default.inc Add a complex WHERE clause to the query.
DatabaseUpdateTestCase::testWhereAndConditionUpdate function core/modules/simpletest/tests/database_test.test Confirm that we can stack condition and where calls.
  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
    • Contributed modules
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Become a maintainer
    • Adopt a project
    • Contribute to documentation
  • API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS
  • backdropcms.org
  • forum.backdropcms.org
  • events.backdropcms.org