db_distinct_field
Related topics
| Name | Description |
|---|---|
| Database abstraction layer | Allow the use of different database servers using the same code base. |
Functions that call db_distinct_field()
| Name | Location | Description |
|---|---|---|
| db_distinct_field | includes/database.pgsql.inc | Wraps 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_sql | includes/database.inc | Rewrites 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()
| Name | Location | Description |
|---|---|---|
| db_distinct_field | includes/database.pgsql.inc | Wraps 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. |
