Skip to content

Commit 704c14a

Browse files
committed
improved handling of multivalue fields in the QueryCommand
1 parent 7a57d30 commit 704c14a

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
@@ -68,7 +68,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
6868
foreach ($result as $i => $row) {
6969
$output->writeln("\n".($i+1).'. Row (Path: '. $row->getPath() .', Score: '. $row->getScore() .'):');
7070
foreach ($row as $column => $value) {
71-
$output->writeln("$column: $value");
71+
$output->writeln("$column: ".var_export($value, true));
7272
}
7373
}
7474
$output->writeln(sprintf('<info>%.2f seconds</info>', $elapsed));

0 commit comments

Comments
 (0)