Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from next.jdbc to pg2 #26

Open
brettatoms opened this issue Jul 7, 2024 · 0 comments
Open

Switch from next.jdbc to pg2 #26

brettatoms opened this issue Jul 7, 2024 · 0 comments

Comments

@brettatoms
Copy link

brettatoms commented Jul 7, 2024

What do we gain?

  • 2x-ish performance over next.jdbc
  • Supports honeysql queries and could probably replace a lot of our db.i functions
  • Supports JSON out of the box so we could remove our support

What do we lose?

  • next.jdbc has great docs
  • pg2 is less mature, next.jdbc is established and widely used

We could also replace migratus with pg2-migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant