db_distinct_field

Related topics

Namesort iconDescription
Database abstraction layerAllow the use of different database servers using the same code base.

Functions that call db_distinct_field()

Namesort iconLocationDescription
db_distinct_fieldincludes/database.pgsql.incWraps the given table.field entry with a DISTINCT(). The wrapper is added to the SELECT list entry of the given query and the resulting query is returned. This function only applies the wrapper if a DISTINCT doesn't already exist in the query.
db_rewrite_sqlincludes/database.incRewrites node, taxonomy and comment queries. Use it for listing queries. Do not use FROM table1, table2 syntax, use JOIN instead.

Functions called by db_distinct_field()

Namesort iconLocationDescription
db_distinct_fieldincludes/database.pgsql.incWraps the given table.field entry with a DISTINCT(). The wrapper is added to the SELECT list entry of the given query and the resulting query is returned. This function only applies the wrapper if a DISTINCT doesn't already exist in the query.
 
 

Drupal is a registered trademark of Dries Buytaert.