WYRDTEK Home Features Reference Downloads About


Reference/es_mbc_getfldtype

Syntax

int es_mbc_getfldtype( struct es_mbc *cls, unsigned fieldid );

Arguments

struct es_mbc *cls A database class.
unsigned fieldid Field Identifier.

Description

Return integer field type id corresponding to the field identifier fieldid in the class struct es_mbc *cls. See es_mbc_getfldid() for a description of field identifiers.

Field types are specified when a field is added to a class via a call to es_mbc_addfld().

Returns -1 if fieldnm does not exist in the class.

[Back To Reference] [Back To Reference/es_mbc]