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

Feature request: Implement PgLite db adapter #1809

Open
KONFeature opened this issue Jan 4, 2025 · 1 comment
Open

Feature request: Implement PgLite db adapter #1809

KONFeature opened this issue Jan 4, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@KONFeature
Copy link

Is your feature request related to a problem? Please describe.

For now, the recommendation for the dev env is using SQLite with the better-sqlite3.
It's a mess when running with Bun and it's heavy af.

Describe the solution you'd like

Add a db adapter supporting PGLite.
It would help with:

  • Streamline db schema between pg adapter and dev adapter
  • Native support of vector and fuzzystrmatch
  • Faster dev env (benchmark)
  • Prepare for a potential switch to bun runtime for even faster env? 👀 (and better-sqlite is a mess with bun)

Describe alternatives you've considered

No other lib, in my knowledge, is as fast as pglite in term of dev env (specially with the in mem adapter and ultra slim WASM size)

Additional context

None

@KONFeature KONFeature added the enhancement New feature or request label Jan 4, 2025
Copy link
Contributor

github-actions bot commented Jan 4, 2025

Hello @KONFeature! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!

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

No branches or pull requests

1 participant