Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCan't debug_sql! query that contains time::Timespec; trait not implemented #978
Comments
added a commit
to Eijebong/diesel
that referenced
this issue
Jun 30, 2017
This comment has been minimized.
|
Thanks for the report. It is indeed a bug (we're missing a Here is what you would get with the SELECT `version_downloads`.`id`, `version_downloads`.`version_id`, `version_downloads`.`downloads`, `version_downloads`.`counted`, `version_downloads`.`date`, `version_downloads`.`processed` FROM `version_downloads` WHERE `version_downloads`.`version_id` = ? AND `version_downloads`.`date` BETWEEN date(?) AND date(?) ORDER BY `version_downloads`.`date` |
killercup
closed this
in
#979
Jun 30, 2017
added a commit
to mcgoo/diesel
that referenced
this issue
Oct 12, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
carols10cents commentedJun 29, 2017
Setup
Versions
Feature Flags
Problem Description
What are you trying to accomplish?
I'm trying to debug a query in crates.io (essentially this code but i'm changing some things for debugging), because i'm having a timezone issue:
What is the expected output?
I expect to see a printed version of the SQL generated by this diesel code.
What is the actual output?
I get a compilation error:
Steps to reproduce
Check out this branch of crates.io: https://github.com/integer32llc/crates.io/tree/diesel-debug-sql-error and try to build it.
Checklist