ambiguous column name 'id' #546
-
Hi! Thanks a lot for this fantastic library. The most of my time on converting a rather simple project was spent on trying out, hitting walls, and rewriting the DAL code. I have an inner join on a select statement involving two tables, both of which have the id field (obviously). When the query is executed, the error message in the title is thrown. In all the code examples I see that only the column names are listed, without the table name. Is there a way to require the columns to be output as I'm using rusqlite as the underlying provider. Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Actually, using double quotes won't work as that returns the quoted string as the column value. |
Beta Was this translation helpful? Give feedback.
-
@alensiljak hey! Can you show your code?) |
Beta Was this translation helpful? Give feedback.
A working solution