Home | Previous Page | Next Page   Data Manipulation > Using Complex Data Types > Collections >

Collection Text Representation

The DataBlade API supports a collection in text representation as a quoted string with the following format:

"coll_type{elmnt_value, elmnt_value, ...}"
coll_type
is the type of the collection: SET, MULTISET, or LIST.
elmnt_value
is the text representation of the element value.

A collection in its text representation is often called a collection string. For example, the following collection string provides the text representation for a SET of integer values:

"SET{1, 6, 8, 3}"

For a complete description of the text representation of a collection, see the description of the Literal Collection segment in the IBM Informix: Guide to SQL Syntax.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]