Skip to content

SqlBuilder: Fixed joinWhere with aliases and .tables#141

Open
senasi wants to merge 3 commits into
nette:masterfrom
senasi:master
Open

SqlBuilder: Fixed joinWhere with aliases and .tables#141
senasi wants to merge 3 commits into
nette:masterfrom
senasi:master

Conversation

@senasi

@senasi senasi commented Aug 12, 2016

Copy link
Copy Markdown

No description provided.

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

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

Copy link
Copy Markdown
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
Copy Markdown
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 6 times, most recently from 834381a to 0818225 Compare February 2, 2017 02:52
@dg dg force-pushed the master branch 4 times, most recently from abe9849 to 9358712 Compare June 29, 2017 15:38
@dg dg force-pushed the master branch 7 times, most recently from f1a9aa2 to ec7a207 Compare July 26, 2017 21:39
@dg dg force-pushed the master branch 10 times, most recently from 49cbe22 to b4c1ac1 Compare March 23, 2018 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants