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 up
Safe prefix aliases for buildAssociationQuery() #4195
Consider the following
$I->seeInRepository( 'OrderItem', array( 'order' => array( 'recipient_email'=> self::MEMBER_EMAIL ) ) );
Generates the following query:
Currently fails with expected literal due to the use of the word order as an alias.
The suggested change would produce