The mi_typeid_is_row() function
The mi_typeid_is_row() function determines whether a type identifier is for an SQL row data type.
Syntax
mi_boolean mi_typeid_is_row(typeid_ptr)
MI_TYPEID *typeid_ptr;
- typeid_ptr
- A pointer to the type identifier to check.
Valid in client LIBMI application? | Valid in user-defined routine? |
---|---|
Yes | Yes |
Usage
The mi_typeid_is_row() function
determines if the data type in the type identifier that typeid_ptr references
is an SQL row data type:
- Named row type: named_row name
- Unnamed row type: ROW
Important: The type identifier is an opaque structure.
Do not access its value directly. To determine if a type identifier
contains a ROW data type, always use mi_typeid_is_row().
To determine if a type identifier contains any complex data type,
use the mi_typeid_is_complex() function.
Return values
- MI_TRUE
- The type identifier that typeid_ptr references is a row type.
- MI_FALSE
- The type identifier that typeid_ptr references is not a row data type.