[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: JSDO 6.0 is now available

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello Hans, The code should work with the nested keyword and without. You should be able to access data on the 3 table references. Internally, the JSDO loads the JSON payload and creates data arrays for each of the temp-tables. The internal structure is the same whether or not the nested keyword is used. Please notice that the call to getData() only retrieves the records of the specified table reference. It does not include the child records in a nested array. This could be a nice enhancement. You can submit an enhancement via the Issues system: github.com/.../issues. In order to get the child records, you would call getData() on the table reference of the child once a working record for the parent table reference has been set by performing fill(), foreach(), find() or findById(). (getData() does not set the working record.) I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top