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

SqlBuilder: Fixed joinWhere with aliases and .tables #141

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

senasi
Copy link

@senasi senasi commented Aug 12, 2016

No description provided.

? [$table => $this->parameters['joinCondition'][$this->reservedTableNames[$table]]]
: [];

if (array_key_exists($table, $this->aliases)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is needed array_key_exist? isset($this->aliases[$table]) is faster

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping @senasi

@dg dg force-pushed the master branch 13 times, most recently from 44a230d to 829b936 Compare October 18, 2016 13:01
@dg dg force-pushed the master branch 2 times, most recently from b74e9fb to b2e321a Compare December 3, 2016 18:55
@dg dg force-pushed the master branch 4 times, most recently from e249c62 to d56890f Compare January 4, 2017 14:15
@dg dg force-pushed the master branch 4 times, most recently from e95a595 to 0b4d2e5 Compare January 15, 2017 07:08
@dg dg force-pushed the master branch 29 times, most recently from a329d1b to 9f82d9d Compare September 5, 2024 02:37
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

Successfully merging this pull request may close these issues.

2 participants