StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
PgTyped
ByPgTypedPgTyped

PgTyped

#378in Databases
Discussions0
Followers10
OverviewDiscussionsAdoption

What is PgTyped?

It makes it possible to use raw SQL in TypeScript with guaranteed type-safety. No need to map or translate your DB schema to TypeScript, it automatically generates types and interfaces for your SQL queries by using your running Postgres database as the source of type information.

PgTyped is a tool in the Databases category of a tech stack.

Key Features

Automatically generates TS types for parameters/results of SQL queries of any complexitySupports extracting and typing queries from both SQL and TS filesGenerate query types as you write them, using watch modeUseful parameter interpolation helpers for arrays and objectsNo need to define your DB schema in TypeScript, your running DB is the live source of type dataPrevents SQL injections by not doing explicit parameter substitution. Instead, queries and parameters are sent separately to the DB driver, allowing parameter substitution to be safely done by the PostgreSQL server

PgTyped Pros & Cons

Pros of PgTyped

No pros listed yet.

Cons of PgTyped

No cons listed yet.

PgTyped Alternatives & Comparisons

What are some alternatives to PgTyped?

Slick

Slick

It is a modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred.

Spring Data

Spring Data

It makes it easy to use data access technologies, relational and non-relational databases, map-reduce frameworks, and cloud-based data services. This is an umbrella project which contains many subprojects that are specific to a given database.

Dataform

Dataform

Dataform helps you manage all data processes in your cloud data warehouse. Publish tables, write data tests and automate complex SQL workflows in a few minutes, so you can spend more time on analytics and less time managing infrastructure.

DB

DB

With DB you can very easily save, restore, and archive snapshots of your database from the command line. It supports connecting to different database servers (for example a local development server and a staging or production server) and allows you to load a database dump from one environment into another environment.

Liquibase

Liquibase

Liquibase is th leading open-source tool for database schema change management. Liquibase helps teams track, version, and deploy database schema and logic changes so they can automate their database code process with their app code process.

DataGrip

DataGrip

A cross-platform IDE that is aimed at DBAs and developers working with SQL databases.

Try It

Visit Website

Adoption

On StackShare

PgTyped Integrations

PostgreSQL, TypeScript are some of the popular tools that integrate with PgTyped. Here's a list of all 2 tools that integrate with PgTyped.

PostgreSQL
PostgreSQL
TypeScript
TypeScript
Companies
0
Developers
2
JA