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

[BUG]: Module '"drizzle-orm/mysql-core"' has no exported member 'queryBuilder' #293

Closed
ryanagillie opened this issue Mar 20, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@ryanagillie
Copy link

What version of drizzle-orm are you using?

0.22.0

Describe the Bug

I'm writing a transaction wrapper for mysql2 (until that's released) and wanted to use queryBuilder in a callback function but it's not exported from drizzle-orm/mysql-core like the docs say.

image

@ryanagillie ryanagillie added the bug Something isn't working label Mar 20, 2023
@ryanagillie
Copy link
Author

Looks like the index.ts is missing an export * from './query-builders'; between ./primary-keys and ./schema like in the pg-core version.

I could throw up a PR really quick to fix? unless the query builder isn't ready yet.

@dankochetov
Copy link
Contributor

I forgot to add it to the exports, will be fixed in the next release.
Keep in mind though, the query builder currently only supports SELECT queries. The rest will be added soon.

@dankochetov
Copy link
Contributor

Fixed in 0.23.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants