Drivers and ORMs for YugabyteDB

Drivers and ORMs

Connect applications with your database

Applications connect to and interact with YugabyteDB using API client libraries (also known as client drivers). Because the YugabyteDB YSQL API is PostgreSQL-compatible, and the YCQL API has roots in the Apache Cassandra CQL, YugabyteDB supports many third-party drivers.

In addition to the compatible upstream PostgreSQL drivers, YugabyteDB also supports smart drivers, which extend the PostgreSQL drivers to enable client applications to connect to YugabyteDB clusters without the need for external load balancers.

Choose your language

Supported libraries

The following libraries are officially supported by YugabyteDB.

Driver/ORM Support Level Example apps
YugabyteDB PGX Smart Driver [Recommended] Full CRUD
PGX Driver Full CRUD
PQ Driver Full CRUD
YugabyteDB Go Driver for YCQL Full CRUD
GORM Full CRUD
PG Full CRUD
Driver/ORM Support Level Example apps
YugabyteDB Psycopg2 Smart Driver [Recommended] Full CRUD
PostgreSQL Psycopg2 Driver Full CRUD
aiopg Full Hello World
Django Full CRUD
SQLAlchemy Full CRUD
Driver/ORM Support Level Example apps
YugabyteDB node-postgres Smart Driver [Recommended] Full CRUD
PostgreSQL node-postgres Driver Full CRUD
Sequelize Full CRUD
Prisma Full CRUD
Driver/ORM Support Level Example apps
libpq C Driver Full CRUD
Driver/ORM Support Level Example apps
libpqxx C++ Driver Full CRUD
YugabyteDB C++ Driver for YCQL Full CRUD
Driver/ORM Support Level Example apps
PostgreSQL Npgsql Driver Full CRUD
YugabyteDB C# Driver for YCQL Full CRUD
Entity Framework Full CRUD
Driver/ORM Support Level Example apps
Diesel Full CRUD
Driver/ORM Support Level Example apps
php-pgsql Driver Full CRUD
Driver/ORM Support Level Example apps
YugabyteDB Java Driver for YCQL Full CRUD

Read more