Before the access method can return row values to a query, the access method must convert source data to data types that database server recognizes, native IBM Informix data types, and user-defined data types (UDTs). The database server can recognize a UDT because the application registers it in the database with a CREATE TYPE statement.
For a list of available row-descriptor accessor functions, refer to the description of MI_ROW_DESC in the IBM Informix: DataBlade API Programmer's Guide.
The database server passes an MI_ROW structure to the am_insert and am_update purpose functions. To extract the values to insert or update, call mi_value() or mi_value_by_name(). For more information about these functions, refer to the IBM Informix: DataBlade API Programmer's Guide.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]