UDB Rows object

  • 1 August 2022
  • 0 replies
  • 53 views

This article is about the Rows object in the UDB object model. This model is for data exchange between USoft web UIs and Rules Engines.

This model is built around the udb, DataSourceMetaContainer, DataSourceContainer, Rowset, Rows, ColsMeta, and Cols object types. See also UDB events.

A Rows object contains a collection of records.

To address such a collection, you can call the .rows() function of a DataSourceContainer object. This addresses one or more records of the first data source in the container.

This example addresses the first row of the EMP data source:

$.udb('EMP').rows(0);

You can also address one or more records from a specified rowset. Call the .rows() function of a Rowset object.

This example addresses the first row of the current row set of the EMP data source:

$.udb('EMP').rowSet('current').rows(0);

 


0 replies

Be the first to reply!

Reply