Search for expression

  1. Search 7.x for expression
  2. Search 9.5.x for expression
  3. Search 8.9.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.
ConfigActionManager::getConfigNamesMatchingExpression function core/lib/Drupal/Core/Config/Action/ConfigActionManager.php Gets the names of all active config objects that match an expression.
FilterNumericTest::testFilterNumericExposedGroupedNotRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php Tests the numeric filter with grouped exposed filters.
FilterNumericTest::testFilterNumericExposedGroupedRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php Tests the "numeric" filter with grouped exposed filters.
FilterNumericTest::testFilterNumericNotRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php Tests the numeric filter with negated 'regular_expression' operator.
FilterNumericTest::testFilterNumericRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php Tests the numeric filter handler with the 'regular_expression' operator.
FilterStringTest::testFilterStringGroupedNotRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests the string filter with negated 'regular_expression' operator.
FilterStringTest::testFilterStringNotRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests the string filter handler with the negated '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/argument/Search.php Sets up and parses the search query.
Search::queryParseSearchExpression function core/modules/search/src/Plugin/views/filter/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
Select::addExpression function core/lib/Drupal/Core/Database/Query/Select.php
Select::getExpressions function core/lib/Drupal/Core/Database/Query/Select.php
SelectExtender::addExpression function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SelectExtender::getExpressions function core/lib/Drupal/Core/Database/Query/SelectExtender.php
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.
TypedConfigManager::resolveExpression function core/lib/Drupal/Core/Config/TypedConfigManager.php Resolves a dynamic expression.
TypeResolver::resolveExpression function core/lib/Drupal/Core/Config/Schema/TypeResolver.php Resolves a dynamic type expression using configuration data.
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.
WildcardConfigActionsTest::testInvalidExpression function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests that an invalid wildcard expression will raise an error.

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