0.0.26 • Published 1 year ago

@rosepg/rose v0.0.26

Weekly downloads
67
License
MIT
Repository
-
Last release
1 year 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

1 year ago

0.0.25

2 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago