[Pas2js] Cannot access Rows property

warleyalex warleyalex at yahoo.com.br
Sat Mar 17 15:44:41 CET 2018


reference: JSONDataset unit

for datastores I use the base class TJSONDataset which inherits from the
TBaseJSONDataset.
the issue is the Rows property is implemented on the protected scope!

I think the following properties should live on the public / published scope

    // If True, then the dataset will free MetaData and FRows when it is
closed.
    Property OwnsData : Boolean Read FownsData Write FOwnsData;
    // set to true if unknown field types should be handled as string
fields.
    Property MapUnknownToStringType : Boolean Read FMUS Write FMUS;
    // Metadata
    Property MetaData : TJSObject Read FMetaData Write SetMetaData;
    // Rows
    Property Rows : TJSArray Read FRows Write SetRows;
    // Fieldmapper
    Property FieldMapper : TJSONFieldMapper Read FFieldMapper;
    // FieldClass
    Property UseDateTimeFormatFields : Boolean Read FUseDateTimeFormatFields
Write FUseDateTimeFormatFields;





--
Sent from: http://pas2js.38893.n8.nabble.com/


More information about the Pas2js mailing list