JSDO properties, methods, and events reference : getSchema( ) method
  

getSchema( ) method

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.getSchema ( )
jsdo-ref.table-ref.getSchema ( )
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:
*ablType
*default
*format
*name
*type
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:

See also:

getData( ) method, fill( ) method