Search for expression

  1. Search 7.x for expression
  2. Search 8.9.x for expression
  3. Search 10.3.x for expression
  4. Search 11.x for expression
  5. Other projects
Title Object type File name Summary
AlterTest::testAlterExpression function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter expressions in the query.
FilterNumericTest::testFilterNumericExposedGroupedRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php Tests the "numeric" filter with grouped exposed filters.
FilterNumericTest::testFilterNumericRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php Tests the numeric filter handler with the 'regular_expression' operator.
Inspector::assertAllRegularExpressionMatch function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are strings matching a regular expression.
InspectorTest::testAssertAllRegularExpressionMatch function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting regular expression match.
Merge::$expressionFields property core/lib/Drupal/Core/Database/Query/Merge.php Array of fields to update to an expression in case of a duplicate record.
Merge::expression function core/lib/Drupal/Core/Database/Query/Merge.php Specifies fields to be updated as an expression.
MergeTest::testMergeUpdateExpression function core/tests/Drupal/KernelTests/Core/Database/MergeTest.php Confirms that we can merge-update a record successfully, with expressions.
OptimizedPhpArrayDumperTest::testGetServiceDefinitionForExpression function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Tests that the correct RuntimeException is thrown for expressions.
QueryAggregate::$sqlExpressions property core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Stores the sql expressions used to build the sql query.
QueryTest::testNumericExpressionSubstitution function core/tests/Drupal/KernelTests/Core/Database/QueryTest.php Tests numeric query parameter expansion in expressions.
Search::queryParseSearchExpression function core/modules/search/src/Plugin/views/filter/Search.php Sets up and parses the search query.
Search::queryParseSearchExpression function core/modules/search/src/Plugin/views/argument/Search.php Sets up and parses the search query.
SearchQuery::$searchExpression property core/modules/search/src/SearchQuery.php The keywords and advanced search options that are entered by the user.
SearchQuery::EXPRESSIONS_IGNORED constant core/modules/search/src/SearchQuery.php Indicates that part of the search expression was ignored.
SearchQuery::parseSearchExpression function core/modules/search/src/SearchQuery.php Parses the search query into SQL conditions.
SearchQuery::searchExpression function core/modules/search/src/SearchQuery.php Sets the search query expression.
Select::$expressions property core/lib/Drupal/Core/Database/Query/Select.php The expressions to SELECT as virtual fields.
Select::addExpression function core/modules/pgsql/src/Driver/Database/pgsql/Select.php Adds an expression to the list of "fields" to be SELECTed.
Select::addExpression function core/lib/Drupal/Core/Database/Query/Select.php Adds an expression to the list of "fields" to be SELECTed.
Select::getExpressions function core/lib/Drupal/Core/Database/Query/Select.php Returns a reference to the expressions array for this query.
SelectExtender::addExpression function core/lib/Drupal/Core/Database/Query/SelectExtender.php Adds an expression to the list of "fields" to be SELECTed.
SelectExtender::getExpressions function core/lib/Drupal/Core/Database/Query/SelectExtender.php Returns a reference to the expressions array for this query.
SelectInterface::addExpression function core/lib/Drupal/Core/Database/Query/SelectInterface.php Adds an expression to the list of "fields" to be SELECTed.
SelectInterface::getExpressions function core/lib/Drupal/Core/Database/Query/SelectInterface.php Returns a reference to the expressions array for this query.
SelectTest::providerRegularExpressionCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Data provider for testRegularExpressionCondition().
SelectTest::testRegularExpressionCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that filter by 'REGEXP' and 'NOT REGEXP' works as expected.
SelectTest::testSimpleSelectExpression function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests SELECT statements with expressions.
SelectTest::testSimpleSelectExpressionMultiple function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests SELECT statements with multiple expressions.
Sql::addHavingExpression function core/modules/views/src/Plugin/views/query/Sql.php Add a complex HAVING clause to the query.
Sql::addWhereExpression function core/modules/views/src/Plugin/views/query/Sql.php Adds a complex WHERE clause to the query.
Update::$expressionFields property core/lib/Drupal/Core/Database/Query/Update.php Array of fields to update to an expression in case of a duplicate record.
Update::expression function core/lib/Drupal/Core/Database/Query/Update.php Specifies fields to be updated as an expression.
UpdateComplexTest::testUpdateExpression function core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php Tests UPDATE with expression values.
UpdateComplexTest::testUpdateOnlyExpression function core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php Tests UPDATE with only expression values.
UpdateTest::testExpressionUpdate function core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php Tests updating with expressions.
ViewsSearchQuery::publicParseSearchExpression function core/modules/search/src/ViewsSearchQuery.php Executes and returns the protected parseSearchExpression method.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.