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]: Missing proper export for SelectResult #637

Closed
machour opened this issue May 26, 2023 · 1 comment
Closed

[BUG]: Missing proper export for SelectResult #637

machour opened this issue May 26, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@machour
Copy link

machour commented May 26, 2023

What version of drizzle-orm are you using?

0.26.1

What version of drizzle-kit are you using?

0.18.1

Describe the Bug

SelectResult is currently not exported from drizzle-orm/mysql-core or drizzle-orm

It's only available in the generated files under node_modules

This is a bug according to @dankochetov :
#583 (comment)

Expected behavior

I expect to be able to import SelectResult from drizzle-orm/mysql-core or drizzle-orm

Environment & setup

All setups I guess. Mine is node v16 on macOS.

@machour machour added the bug Something isn't working label May 26, 2023
@Angelelz
Copy link
Collaborator

I think this type can currently be imported like this:

import { SelectResult } from "drizzle-orm/query-builders/select.types";

Please let us know if you still have issues.

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

3 participants