-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Unsure what this error means #52
Comments
Hi, a code sample would be needed to see what's really going on here. A stack trace doesn't tell us enough on its own. |
Error Once Again:
DB Function:
Code to get results:
|
Probably some of those many columns has a nil. And You should be able to use But, other than that, you can use http://crystal-lang.github.io/crystal-db/api/0.4.2/DB.html#mapping%28properties%2Cstrict%3Dtrue%29-macro in this case to simplify a bit the code. The line Instead of
|
Not sure what this error means at all. I have a rather large set of columns that I need to get, but I can't tell if this is an inconsistency in my column reads, or whether Crystal is trying to handle a Nil value or something, if anyone could help that would be great.
Error:
The text was updated successfully, but these errors were encountered: