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 upLook for help about raw sql #1194
Comments
This comment has been minimized.
|
There is a type miss match between the returned SQL types and the return types of your function. |
This comment has been minimized.
samrayleung
commented
Sep 25, 2017
|
Even though I have changed the return type from
|
This comment has been minimized.
|
|
This comment has been minimized.
samrayleung
commented
Sep 25, 2017
|
I get another error as below:
and after I change
|
samrayleung commentedSep 24, 2017
Hey, I have asked this question in
gitter, you have given me somesuggestions. I followed your suggestion, but I still could not figure this issue
out by myself. So I just look for help here again.
Say, this is my Rust code, I want to count daily page-view in a month:
I get such error, I have followed your suggestion to check Diesel doc, but I still could not
figure out how to implement the trait
diesel::Queryable<(diesel::types::Date, diesel::types::Integer), diesel::pg::Pg>for
Vec<(chrono::NaiveDateTime,i32)>Could you help me out?