Get the value as ECEnumeration value Note: This method is optional. Using ECSqlValue.getInteger for integral enums and ECSqlValue.getString for string enums respectively are the usual way to get enum values. This method can be used if the context of the underlying ECEnumeration is required. The value is broken down into the ECEnumerators that make it up, if the value is a combination of ECEnumerators. If the value is not a strict match of an ECEnumerator or a combination of them, undefined is returned.
Note: You can call columnInfo.isEnum to find out whether this method can be called or not. @return ECEnumeration value(s) or undefined if the ECSqlValue does not represent an ECEnumeration. or is not a strict match of an ECEnumerator or a combination of them.
getEnum(): ECEnumValue | undefined
Last Updated: 03 June, 2019