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

Numeric type workaround #371

Closed
wants to merge 2 commits into from
Closed

Numeric type workaround #371

wants to merge 2 commits into from

Conversation

nvkv
Copy link

@nvkv nvkv commented Mar 17, 2016

Hi there.

We are facing #331 problem really hard. One of our apps using remote database and we can't actually change it's schema to fix types.

I know this code is ugly as hell, but it works and even has unit test-coverage :)
I will be happy if someone fix this issue in proper way, but for now we desperately need workaround.

@nvkv
Copy link
Author

nvkv commented Apr 3, 2016

Hey, guys. 17 days passed and still no reaction. That's make me and my projects sad. We forced to switch on my fork which considered bad thing to do.

@stephencelis
Copy link
Owner

@semka Have you tried using cast?

let doubleColumn = cast(column) as Expression<Double>

@nvkv
Copy link
Author

nvkv commented Apr 4, 2016

Will check, thanks a lot, stephen.

@jberkel
Copy link
Collaborator

jberkel commented Sep 15, 2016

No activity, closing.

@jberkel jberkel closed this Sep 15, 2016
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.

3 participants