Search for expression

Classes

NameLocationDescription
SearchExpressionInsertExtractTestCasemodules/search/search.testTests search_expression_insert() and search_expression_extract().

Functions & methods

NameLocationDescription
DatabaseAlterTestCase::testAlterExpressionmodules/simpletest/tests/database_test.testTest that we can alter expressions in the query.
DatabaseMergeTestCase::testMergeUpdateExpressionmodules/simpletest/tests/database_test.testConfirm that we can merge-update a record successfully, with expressions.
DatabaseSelectTestCase::testSimpleSelectExpressionmodules/simpletest/tests/database_test.testTest SELECT statements with expressions.
DatabaseSelectTestCase::testSimpleSelectExpressionMultiplemodules/simpletest/tests/database_test.testTest SELECT statements with multiple expressions.
DatabaseUpdateComplexTestCase::testUpdateExpressionmodules/simpletest/tests/database_test.testTest update with expression values.
DatabaseUpdateComplexTestCase::testUpdateOnlyExpressionmodules/simpletest/tests/database_test.testTest update with only expression values.
DatabaseUpdateTestCase::testExpressionUpdatemodules/simpletest/tests/database_test.testTest updating with expressions.
hook_ctools_math_expression_functions_alter./ctools.api.phpAlter the available functions to be used in ctools math expression api.
MergeQuery::expressionincludes/database/query.incSpecifies fields to be updated as an expression.
SearchExpressionInsertExtractTestCase::getInfomodules/search/search.test
SearchExpressionInsertExtractTestCase::testInsertExtractmodules/search/search.testTests search_expression_insert() and search_expression_extract().
SearchQuery::parseSearchExpressionmodules/search/search.extender.incParses the search query into SQL conditions.
SearchQuery::searchExpressionmodules/search/search.extender.incSets up the search query expression.
search_expression_extractmodules/search/search.moduleExtracts a module-specific search option from a search expression.
search_expression_insertmodules/search/search.moduleAdds a module-specific search option to a search expression.
SelectQueryInterface::addExpressionincludes/database/select.incAdds an expression to the list of "fields" to be SELECTed.
SelectQueryInterface::getExpressionsincludes/database/select.incReturns a reference to the expressions array for this query.
UpdateQuery::expressionincludes/database/query.incSpecifies fields to be updated as an expression.

Properties

NameLocationDescription
MergeQuery::$expressionFieldsincludes/database/query.incArray of fields to update to an expression in case of a duplicate record.
SearchQuery::$searchExpressionmodules/search/search.extender.incThe search query that is used for searching.
SelectQuery::$expressionsincludes/database/select.incThe expressions to SELECT as virtual fields.
UpdateQuery::$expressionFieldsincludes/database/query.incArray of fields to update to an expression in case of a duplicate record.