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

.selectFrom example is broken #10

Closed
Ericnr opened this issue Oct 17, 2021 · 1 comment
Closed

.selectFrom example is broken #10

Ericnr opened this issue Oct 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Ericnr
Copy link
Contributor

Ericnr commented Oct 17, 2021

This example is broken. TS complains when you try to select the db.raw column.
https://github.com/koskimas/kysely/blob/b762d0f006c0a6f8cf9de176d91645c997a4f95e/src/query-creator.ts#L123

@koskimas
Copy link
Member

koskimas commented Oct 17, 2021

Thanks for reporting this. Raw expressions in selectFrom were broken. I added a test for it and it'll be fixed in the next version.

@igalklebanov igalklebanov added the bug Something isn't working label Oct 12, 2022
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