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:
Value | Type of column |
---|---|
C | Column declared in Definer with Type = Database. Column of variable data source. |
E | Column of embedded data source |
O | Column of output expression |
undefined | Column 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();