Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Dart
  3. Postgres

Postgres

BSD-3-ClauseDart

A Dart driver for PostgreSQL that supports the extended query format, binary protocol, and statement reuse.

Visit WebsiteGitHubGitHub
128 stars30 forks0 contributors

What is Postgres?

postgres is a Dart driver for PostgreSQL databases that enables Dart applications to connect to, query, and interact with PostgreSQL. It solves the need for a reliable and performant database connectivity solution in Dart by supporting PostgreSQL's extended query format and binary protocol.

Target Audience

Dart developers building backend services, Flutter applications with server-side components, or any Dart-based project requiring PostgreSQL database connectivity.

Value Proposition

Developers choose this driver for its focus on performance and security through PostgreSQL's native protocols, its clean Dart API, and features like statement reuse and transaction support that streamline database operations.

Overview

Dart PostgreSQL driver: supports extended query format, binary protocol and statement reuse.

Use Cases

Best For

  • Building Dart backend services that require PostgreSQL database access
  • Developing Flutter apps with server-side PostgreSQL interactions
  • Projects needing secure and efficient PostgreSQL query execution in Dart
  • Applications that benefit from prepared statement reuse for performance
  • Implementing database transactions in Dart-based systems
  • Migrating or connecting existing PostgreSQL databases to Dart ecosystems

Not Ideal For

  • Projects requiring multi-database support or database-agnostic code
  • Teams wanting a full ORM with automatic schema migrations and model definitions
  • Applications that need built-in connection pooling or advanced async handling out of the box
  • Rapid prototyping where a higher-level abstraction like an ORM would speed up development

Pros & Cons

Pros

Efficient Query Protocol

Utilizes PostgreSQL's extended query format for secure and performant query execution, as emphasized in the project description for better performance and security.

Binary Data Support

Enables faster data transmission through binary protocol encoding, reducing overhead and improving response times for data-intensive operations.

Statement Reuse Capability

Allows prepared statements to be reused, minimizing latency for repeated queries and enhancing efficiency in database interactions.

Clean Transaction API

Provides a straightforward way to handle database transactions with a simple callback-based approach, making it easier to maintain data integrity.

Cons

Limited Database Support

Exclusively works with PostgreSQL, so it's not suitable for projects that might switch databases or need multi-db compatibility, limiting flexibility.

Basic Documentation

The README offers minimal examples and pointers to external API docs, which can slow down onboarding for developers needing more guided tutorials.

Missing Advanced Features

Lacks built-in features like connection pooling or ORM layers, requiring additional setup or third-party libraries for complex applications.

Frequently Asked Questions

Quick Stats

Stars128
Forks30
Contributors0
Open Issues37
Last commit3 years ago
CreatedSince 2016

Tags

#database-driver#dart#binary-protocol#driver#postgresql#backend#database-connectivity#sql

Built With

D
Dart

Links & Resources

Website

Included in

Dart2.5k
Auto-fetched 1 day ago

Related Projects

PostgreSQLPostgreSQL

Dart Postgresql database library.

Stars85
Forks28
Last commit9 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub