When tables are joined, there's a risk of columns, especially commonly-occuring ones, turning up in at least two tables and thus being ambiguous. This pull request, when processing a KeyDescriptor against an Eloquent model, explicitly and forcibly disambiguates any where clauses it adds to said model.
In no-join case, things proceed as they are now. In join case, ambiguity has been removed.
Coverage increased (+2.0e-05%) to 99.961% when pulling c27eae8523af9968b434b0d4a56470ff681e431b on CyberiaResurrection:DisambiguateKeyDescriptorProcessing into 491076d2c1385000f99aaa6c3c2b5cfd490474bf on Algo-Web:master.
When tables are joined, there's a risk of columns, especially commonly-occuring ones, turning up in at least two tables and thus being ambiguous. This pull request, when processing a KeyDescriptor against an Eloquent model, explicitly and forcibly disambiguates any where clauses it adds to said model.
In no-join case, things proceed as they are now. In join case, ambiguity has been removed.