Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Column 'id' in where clause is ambiguous #3

@taylankoca

Description

@taylankoca

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions