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: drizzle integration support #17

Merged
merged 4 commits into from
Jun 27, 2023
Merged

feat: drizzle integration support #17

merged 4 commits into from
Jun 27, 2023

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jun 27, 2023

Resolves #9

Using this kind of integration we can benefit from the best of two worlds (auto-config DX of db0+nitro and advanced query features of drizzle)

Playing around with a custom driver that integrates db0 as an SQLite provider for Drizzle ORM. It might endup to be import { drizzle } from 'db0/drizzle'

Testing:

  • Install deps with pnpm install
  • cd examples/with-drizzle
  • pnpm run test

Not implemented yet:

  • Schema integration support
  • Prepared query values method (i need to read the docs!)

@pi0 pi0 changed the title feat: drizzle integration example feat: drizzle integration support Jun 27, 2023
@pi0
Copy link
Member Author

pi0 commented Jun 27, 2023

Update: Converted to db0/drizzle to try experience

@pi0 pi0 merged commit 7c4641a into main Jun 27, 2023
1 check passed
@pi0 pi0 deleted the feat/drizzle branch June 27, 2023 13:27
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

Successfully merging this pull request may close these issues.

drizzle integration example
1 participant