return fix
This commit is contained in:
parent
b71936192a
commit
04dd977843
|
@ -551,11 +551,7 @@ class Query extends Component implements QueryInterface
|
||||||
|
|
||||||
$names = '';
|
$names = '';
|
||||||
foreach ($columns as $name => $column) {
|
foreach ($columns as $name => $column) {
|
||||||
if (is_int($name)) {
|
$names .= "\"$name\": $this->from.$column, ";
|
||||||
$names .= $column . ', ';
|
|
||||||
} else {
|
|
||||||
$names .= "\"$name\": $this->from.$column, ";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'RETURN {' . trim($names, ', ') . '}';
|
return 'RETURN {' . trim($names, ', ') . '}';
|
||||||
|
|
Loading…
Reference in New Issue