Skip to main content
Version: 10.1

ColsMeta.type()

note

This article is about the type() function of the ColsMeta object.

ColsMeta.type()

Gets a type indication for this column.

Returns a string or returns undefined, as follows:

ValueType of column
C

Column declared in Definer with Type = Database.

Column of variable data source.

EColumn of embedded data source
OColumn of output expression
undefinedColumn declared in Definer with Type = Virtual

Syntax

$.udbMeta( *ds* ).cols( *cols* ).type()

The optional ds is a data source selector. The optional cols is a column selector.

Example

var colType = $.udbMeta('EMP').cols('EMPLOYEE_ID').type();