pg-promise

PostgreSQL interface for Node.js (by vitaly-t)

Pg-promise Alternatives

Similar projects and alternatives to pg-promise

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pg-promise alternative or higher similarity.

pg-promise reviews and mentions

Posts with mentions or reviews of pg-promise. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-26.
  • Planning projects ? Looking for help
    1 project | /r/webdev | 20 May 2023
    Personally with more time I would also use JavaScript so I can improve it. Last time I wrote something with Express and a database connection is a long time ago and not for work, only for my personal testing. But for JavaScript database connection to PostgreSQL I recommend pg-promise. That works like a charm.
  • Ask HN: Why are so many PHP projects moving to Node?
    6 projects | news.ycombinator.com | 26 Jan 2023
    I've always loved this project / product:

    https://github.com/outline/outline

    I think the guy who built it posts here. There's also pg-promise, a "Postgres interface for Node.js":

    https://github.com/vitaly-t/pg-promise

  • Which ORM do you prefer with nodejs/Typescript project and why ?
    2 projects | /r/node | 25 Jan 2023
    Raw pgPromise with string templating.
  • Is my health check endpoint good enough?
    4 projects | /r/node | 3 Jan 2023
    i do have a couple of them like websocket server using ws, bullmq for sending emails and postgres listen/notify to push data to websocket clients. Would you happen to have any ideas on how to go about these? I did some research
  • Help seeding a database with PG
    1 project | /r/learnjavascript | 17 Aug 2021
    Yes. You can also take at the pg-promise library. https://github.com/vitaly-t/pg-promise
  • What package do you guys use for postgres in node js?
    6 projects | /r/PostgreSQL | 20 Jun 2021
    Is there any difference to the named parameters already supported? https://github.com/vitaly-t/pg-promise#named-parameters
  • DenoDB
    15 projects | news.ycombinator.com | 17 Jun 2021
    During my years as a dev i have really started to dislike ORMs. They always fail in the end. SQL is universal, and transfers between languages and tech fields. This is why im pro-sql, and always try to avoid unnecessary abstractions.

    I have actually went back to writing pure SQL in files, and using those as params for whatever db engine i use, this makes it even possible to reuse the code in other projects (even its unlikely that you can use the exact same query, but just as a "it would work" in theory).

    For node based projects i have used and would probably still choose pg-promise (https://github.com/vitaly-t/pg-promise).

  • How to use PostgreSQL with Node?
    3 projects | /r/node | 14 Jun 2021
    Since I'm decent at writing SQL queries and I don't want to learn additional syntax to work with ORMs/query builders, I stay as close as possible to the database driver. pg-promise is an excellent library built on top of the Node.js driver for PostgreSQL. It's built with promises in mind, it's well-tested and typed.
  • 5 reasons to use MongoDB as a bootstrapper
    1 project | /r/SaaS | 12 May 2021
    dont believe me? look at how many open issues they have https://github.com/vitaly-t/pg-promise/issues
  • Building a SaaS in one week: How I built OnlineOrNot (Next.js/React, Tailwind, GraphQL, TypeScript)
    4 projects | /r/reactjs | 8 Mar 2021
    I just used pg-promise - it handles the connections for you, up to you to write the SQL.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 23 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic pg-promise repo stats
17
3,414
5.8
16 days ago

vitaly-t/pg-promise is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of pg-promise is JavaScript.


Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com