GitHub - event-driven-io/Pongo: Pongo - Mongo but on Postgres and with strong consistency benefits
Pongo
Pongo - Mongo but on Postgres and with strong consistency benefits.
Getting Started
Install Pongo as an npm module and save it to your package.json:
npm install @event-driven-io/pongo
Read also introduction article on my blog for more context.
Example
You can use Pongo syntax with explicit typing about supported syntax:
import { pongoClient } from "@event-driven-io/pongo";
import { v4 as uuid } from "uuid";
type User = { name: string; age: number };
const connectionString =
"postgresql://d...
Read more at github.com