informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_collection_create()

The mi_collection_create() function creates a collection.

Syntax

Usage

The mi_collection_create() function creates a new collection structure whose element type is the data type that the typeid_ptr type identifier references. This function is a constructor function for the collection structure. To access elements of the collection, you must first open the collection with the mi_collection_open() function.

The mi_collection_create() function allocates a new collection structure in the current memory duration.

Return Values

MI_COLLECTION * is a pointer to the newly created collection.
NULL indicates that the function was not successful.

Related Topics

See the descriptions of the following functions: mi_collection_close(), mi_collection_copy(), mi_collection_delete(), mi_collection_fetch(), mi_collection_free(), mi_collection_insert(), mi_collection_open(), mi_collection_update(), mi_typestring_to_id(), and mi_typename_to_id().

For a description of collections, see Collections.


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved