Files
directus/packages/data-driver-postgres/src
Nicola Krumschmidt b230d0695c Use table and column indices instead of random unique aliases (#20843)
* Make "as" required on abstract SQL select nodes

* Adjust driver to always expect as

* Replace parameter index generator with general purpose one

* Use table and column indices instead of unique aliases

* Fix and refactor data-sql tests

* Adjust postgres driver to use table and column indices

* adopted query unit tests

* adopted index file tests in driver

* adopted utility tests in driver

* deleted unused variables

* moved indexing logic into converter specific utils folder

* tiny reference fix

* removed mock

* Remove mock variable from orderBy test

* Move index to identifier functions to data-sql

* Rename columnIndexToName in tests and parameters

---------

Co-authored-by: Jan Arends <jan.arends@mailbox.org>
2024-01-12 18:30:32 +00:00
..