cci_glo_new

Description

This function is used to create a glo object in a glo class of class_name with filename. It loads a glo column to a file or specifies a file name in the filename where data is stored. If filename is NULL, only the glo object is created (cci 2.3 or higher).

Return Value

Error code (0 : success, negative number : failure)

Example 1

cci_glo_new(), cci_glo_save() and cci_glo_load() functions are used by default to use the glo data type in CCI. The following is an example that saves the a.out file to the photo column as a glo object in the person table with the name column of string type and the photo column of glo type.