method

columns_for_distinct

Importance_1
v5.0.0.1 - Show latest stable - 0 notes - Class: SchemaStatements
columns_for_distinct(columns, orders) public

PostgreSQL requires the ORDER BY columns in the select list for distinct queries, and requires that the ORDER BY include the distinct column.

Show source
Register or log in to add new notes.