[#3900] Implement better formatting for nested Records

This commit is contained in:
Lukas Eder 2015-01-06 14:12:32 +01:00
parent b39329b514
commit 208abdbfbe

View File

@ -677,6 +677,9 @@ class ResultImpl<R extends Record> implements Result<R>, AttachableInternal {
else if (value instanceof EnumType) {
formatted += ((EnumType) value).getLiteral();
}
else if (value instanceof Record) {
formatted += ((Record) value).valuesRow().toString();
}
else {
formatted += value.toString();
}