0.3.4 • Published 3 months ago

@directus/data-sql v0.3.4

Weekly downloads
-
License
BSUL-1.1
Repository
github
Last release
3 months ago

@directus/data-sql

A package which all SQL drivers use. Is consists out of three individual parts:

  • A set of types, which defines the abstract SQL query language.
  • A query converter, which converts an abstract query into the abstract SQL query.
  • A database response converter which converts the flat database response into a nested object in regards to tables that have been joined. It also replaces the actual column name from the database, with an user specified alias if one was provided.
  • Some smaller utility functions, like for converting operators into SQL equivalents

Installation

npm install @directus/data-sql

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.

0.3.4

3 months ago

0.3.3

3 months ago

0.3.2

4 months ago

0.3.1

5 months ago

0.3.0

7 months ago

0.2.1

10 months ago

0.2.0

11 months ago

0.1.0

11 months ago

0.0.1

11 months ago