Project

General

Profile

Feature #6729

improve database and temp-table toString to write all records without relying on write-json

Added by Constantin Asofiei over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
version:

History

#2 Updated by Constantin Asofiei over 1 year ago

We need to allow the dataset or temp-table 'toString' representation (like in a debugger) to show all records in all tables, without relying on 'write-json'. Using 'write-json' affects the buffer's current record.

The implementation needs to check both static and dynamic temp-tables, as for dynamic temp-tables the field names are like 'field1', 'field2', etc.

The 'toString' for dataset/temp-table should always show the entire data, or, if this is not possible, allow an OS property to enable it, without having to edit the FWD code and re-compile.

#3 Updated by Stefan Brands over 1 year ago

This is in my opinion a very important problem that needs to be fixed asap. Enabling the DataSet.fullDebugString allows you to see the content of data sets. However, it does influence the content of the data set, and that is not acceptable. Then it is better to have a toString that does not show the data, but at least tells you how many tables/records there are in the data set. Of course, being able to show the data is even better. If it is not possible to have the default toString method show the data, then I would try with a more hidden property that is not automatically read by the debugger.And if that is also not possible, then I would make it possible to easily add a line of java code to the converted code that dumps the content somehow.

Also available in: Atom PDF