getSchema( ) method
- Last Updated: April 19, 2017
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Returns an array of objects, one for each field that defines the schema of a table referenced in JSDO memory.
The properties of each object define the schema elements of the respective field.
Return type: Array of Object
Applies to: progress.data.JSDO class, table reference property (JSDO class)
Syntax
|
- jsdo-ref
- A reference to the JSDO. You can call the method on jsdo-ref if the JSDO has only a single table reference.
- table-ref
- A table reference on the JSDO.
The properties in each Object of the array include those defined in the
Data Service Catalog for each field of the specified resource table schema, for example:
ablTypedefaultformatnametype
For more information on these and other properties that can define the schema for a table field in a Data Service Catalog, see the specification for the Cloud Data Object (CDO) Catalog file in:
| https://github.com/CloudDataObject/CDO/blob/master/CloudDataObject_Catalog.pdf |