Forum Post: RE: Batching

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

egarcia

Guest
Hello Meyrick, I just wanted to give you a couple of quick tips. You can use the "JSON Filter Pattern" as a way to do batching. You specify "top" to indicate the number of records to return and "skip" to indicate the page. The following article in the wiki provides some information and points to a sample Business Entity: community.progress.com/.../2279.business-entities-using-the-json-filter-pattern-code-samples.aspx If you want to add to an existing set of records in the JSDO memory, you could use an INVOKE operation. The backend code for the invoke method could also use the JSON Filter Pattern. Then you would use the addRecords() API in the JSDO to add the records to the JSDO memory. I hope this helps.

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