JSDO properties, methods, and events reference : useRelationships property
  

useRelationships property

A boolean that specifies whether JSDO methods that operate on table references in JSDO memory recognize and honor data-relations defined in the schema (that is, work only on records of a child table that are related to the working record of a parent table).
Data type: boolean
Access: Readable/Writable
Applies to: progress.data.JSDO class
When set to true, methods, such as add( ), find( ), and foreach( ), that have default behavior for related table references respect these relationships when operating on related tables. When set to false, these methods operate on all table references as if they have no relationships. The default value is true.
Note: Data-relations defined for OpenEdge Data Object resources (ProDataSets) that use the RECURSIVE key word have no effect and are not supported by the JSDO.

See also:

add( ) method, find( ) method, foreach( ) method