Files
directus/packages/data-driver-postgres
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
..
2023-05-10 14:30:53 -04:00
2023-09-26 21:14:27 +08:00

@directus/data-driver-postgres

This package converts an abstract query to an actual PostgreSQL statement und queries the database.

Current architecture of this package

To get an overview of how the package is organized regarding it's files, directories and the dependencies between them, run pnpm run depcruise and have a look in the created dependency-graph.svg image.