-
Hello, I am currently installing diesel and diesel_async and trying to test it. diesel-async = { version = "0", features = ["postgres", "bb8", "tokio", "tokio-postgres"] }
error
However, I have confirmed that it works if |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That's a mismatch between what your query returns and what your struct expects that the query returns. In detail: your query returns 5 fields, while your struct expects 3 fields. Either adjust your query to only return 3 matching fields (in order + type) or adjust your return type to contain 5 matching files (again in order + type). |
Beta Was this translation helpful? Give feedback.
That's a mismatch between what your query returns and what your struct expects that the query returns. In detail: your query returns 5 fields, while your struct expects 3 fields. Either adjust your query to only return 3 matching fields (in order + type) or adjust your return type to contain 5 matching files (again in order + type).