Skip to content

Commit

Permalink
resolve *
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed May 1, 2019
1 parent 8e25d2b commit 65789c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Select/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ public function __call(string $func, array $args)
*/
public function resolve(string $identifier, bool $autoload = true): string
{
if ($identifier === '*') {
return '*';
}

if (strpos($identifier, '.') === false) {
// parent element
return sprintf(
Expand Down

0 comments on commit 65789c1

Please sign in to comment.