refactor: update warning to apply only to select distinct queries
This commit is contained in:
parent
157a657c1f
commit
50e675f009
1 changed files with 1 additions and 1 deletions
|
|
@ -328,7 +328,7 @@ class Engine:
|
|||
warnings.warn(
|
||||
(
|
||||
"ORDER BY fields have been ignored because PostgreSQL requires them to "
|
||||
"appear in the SELECT list when using DISTINCT or GROUP BY."
|
||||
"appear in the SELECT list when using with DISTINCT"
|
||||
),
|
||||
UserWarning,
|
||||
stacklevel=2,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue