Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column 'id' in where clause is ambiguous #3

Open
taylankoca opened this issue Apr 16, 2020 · 0 comments
Open

Column 'id' in where clause is ambiguous #3

taylankoca opened this issue Apr 16, 2020 · 0 comments

Comments

@taylankoca
Copy link

taylankoca commented Apr 16, 2020

First of all thank you for such a great plugin.

I'm using the plugin with the setup in readme. Having such an error when drag and drop the columns. Seems that in the query id should have the parent table indicator. But I couldn't find the place to correct it.

SQL: select 'imt_gammaoperationengine_vehicles'.*, 'imt_gammaauctionengine_auction_vehicle'.'auction_id' as 'pivot_auction_id', 'imt_gammaauctionengine_auction_vehicle'.'vehicle_id' as 'pivot_vehicle_id', 'imt_gammaauctionengine_auction_vehicle'.'relation_sort_order' as 'pivot_relation_sort_order' from 'imt_gammaoperationengine_vehicles' inner join 'imt_gammaauctionengine_auction_vehicle' on 'imt_gammaoperationengine_vehicles'.'id' = 'imt_gammaauctionengine_auction_vehicle'.'vehicle_id' where 'imt_gammaauctionengine_auction_vehicle'.'auction_id' = 3 and is_expert_reported = 1 and is_consultant_approved = 1 and 'id' = 5 and 'imt_gammaoperationengine_vehicles'.'deleted_at' is null limit 1)" on line 664 of ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant