0.0.26 • Published 3 years ago

@rosepg/rose v0.0.26

Weekly downloads
67
License
MIT
Repository
-
Last release
3 years ago

rose

npm.io codecov

rose is a PostgreSQL query builder and row mapper for TypeScript.

To get started, please read the online documentation:

https://laurence-myers.github.io/rose/

Goals

  • Type safe interface between PostgreSQL and TypeScript (Node.js) applications.
  • Flexible query interface, that can return arbitrary objects, not restricted to a single object graph (i.e. one class).
  • Multiple layers of capabilities:
    • Generating TypeScript interfaces from your database schema.
    • Type-safe query builder.
    • ORM layer on top of the query builder. (Not yet implemented.)
  • Composable queries.
  • Reusable queries; support caching built queries and generated SQL, so application code just passes in parameters.
  • No chance for SQL injection, through the sole use of parameterised queries.

Out of scope

  • DDL statements.
    • You should construct your database outside of your consuming application, using SQL.
  • Support for other databases.
    • By focusing on PostgreSQL, we can provide more sophisticated capabilities, and we're not limited to only supporting functionality common to all databases.
0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.12

5 years ago

0.0.13

5 years ago

0.0.10

5 years ago

0.0.11

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago