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

feat(adapter): add postgres.js adapter #10570

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CodyBontecou
Copy link

☕️ Reasoning

Adding a postgres.js database adapter.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

Copy link

vercel bot commented Apr 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ❌ Failed (Inspect) Apr 12, 2024 11:04pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Apr 12, 2024 11:04pm

@github-actions github-actions bot added adapters Changes related to the core code concerning database adapters pg labels Apr 12, 2024
@ndom91
Copy link
Member

ndom91 commented Apr 13, 2024

What's the difference between this as the pg-based adapter (@auth/pg-adapter)?

@ndom91 ndom91 changed the title postgresjs adapter feat(adapter): add postgres.js adapter Apr 13, 2024
@CodyBontecou
Copy link
Author

This uses postgres.js instead of node-postgres.

@ndom91
Copy link
Member

ndom91 commented Apr 14, 2024

This uses postgres.js instead of node-postgres.

Right, but what's the advantage of one over the other?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapters Changes related to the core code concerning database adapters pg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants