pg-extra
sqliterally
pg-extra | sqliterally | |
---|---|---|
1 | 1 | |
11 | 260 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | about 2 years ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pg-extra
-
Slonik: A PostgreSQL client with strict types, detailed logging, and assertions
The template tag solution is cute but really dangerous if you can accidentally leave off the `SQL` tag and the query still works.
Here's a solution that goes the long route of wrapping node-postgres' classes to ensure that you can never accidentally pass a basic string into query(): https://github.com/danneu/pg-extra/blob/be0e1a9fd513296e9bed...
sqliterally
-
Stuck On Node database management. Should I use a different ORM? Should I use raw SQL?
You can use something like sqliterally to compose your SQL, and maybe make it a bit cleaner.
What are some alternatives?
pgtyped - pgTyped - Typesafe SQL in TypeScript
visulate-ora2pg - Docker image and single page web application for Ora2Pg
slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
typeorm-model-generator - Generates models for TypeORM from existing database.
PostgreSQL - PostgreSQL client for node.js.
gsSQL - Use real SQL SELECT syntax to filter your Google Sheets data using a simple custom function.
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
node-sql-template-strings - ES6 tagged template strings for prepared SQL statements 📋
lucid - AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more
ship-hold - data access framework for Postgresql on nodejs