Skip to content

Commit 006cca0

Browse files
committed
Merge pull request #44 from phpcr/query_command_multivalue
improved handling of multivalue fields in the QueryCommand
2 parents 78ee1d9 + 704c14a commit 006cca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPCR/Util/Console/Command/QueryCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
8585
foreach ($result as $i => $row) {
8686
$output->writeln("\n".($i+1).'. Row (Path: '. $row->getPath() .', Score: '. $row->getScore() .'):');
8787
foreach ($row as $column => $value) {
88-
$output->writeln("$column: $value");
88+
$output->writeln("$column: ".var_export($value, true));
8989
}
9090
}
9191
$output->writeln(sprintf('<info>%.2f seconds</info>', $elapsed));

0 commit comments

Comments
 (0)