gajus / slonik

A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
Other
4.56k stars 138 forks source link

Abstract away pg #555

Closed gajus closed 6 months ago

gajus commented 6 months ago

The primary goal of this refactor is to remove hard dependency on pg.

My intention is to move Slonik away from being a pg wrapper, to make it a universal client. The work in this PR abstracts all interactions with the database behind a pool and drivers (e.g. createPgDriver). This makes it very easy to implement drivers for pg-native, postgres and other drivers.

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 39.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: