Commit e84dbc2
fix(orm): use effectiveOrderBy in cursor filter for DISTINCT queries
Ensures cursor pagination matches actual SQL ordering when distinct fields
are prepended to ORDER BY clause for PostgreSQL compatibility.
Co-authored-by: Yiming Cao <ymc9@users.noreply.github.com>1 parent b094511 commit e84dbc2
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
170 | 177 | | |
171 | 178 | | |
172 | 179 | | |
| |||
0 commit comments