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 upfilter parameter with T type #1746
Comments
This comment has been minimized.
|
Short version: This wont work in that way. Long version: Both columns on your user table have different |
weiznich
closed this
Jun 1, 2018
This comment has been minimized.
loothood
commented
Jun 1, 2018
|
Thank you! |
loothood commentedJun 1, 2018
Versions
Feature Flags
Problem Description
Hi, to get data from db, I use diesel:
schema:
model:
get data function:
I call the function:
or
or
Ok. This is works fine.
At a certain stage, I know the username or the user ID.
So, I want use only one parameter in the function.
I try:
I got the error:
I try the IntoSql trait:
I got the errors:
Could you help me please? What Im doing wrong?