Files
directus/packages/data-driver-postgres
Jan Arends fb65446f1d Durus: test for o2m (#19957)
* Fix casing in file names

* Refactor file structure

* Split up related field node

* formatter

* renamed fields-node.ts to fields.ts

* added o2m field in tdd test

* Split up tests

Co-authored-by: Nitwel <mail@nitwel.de>

* moved variables to test

* used random values in db response mock

* finalized actual test

* added some explanation

* encapsulated mock stream creation

* encapsulated receiving data from stream

* removed root prop in query

* Fix some spelling errors and variable names

* Remove mocked stream hotfix

* Reset mock after each test

* reduced test to a minimum

---------

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
Co-authored-by: Nitwel <mail@nitwel.de>
2023-10-17 09:48:55 +02:00
..
2023-10-17 09:48:55 +02: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.