Functions | |
| alp_status_t | alp_catmgr_dml_item_create (AlpCatMgrDmlItemType itemType, AlpDmlItemH *itemH) |
| alp_status_t | alp_catmgr_dml_item_destroy (AlpDmlItemH itemH) |
| alp_status_t | alp_catmgr_dml_item_set_int32 (AlpDmlItemH itemH, AlpCatMgrDmlColumnType column, const int32_t *value) |
| alp_status_t | alp_catmgr_dml_item_set_string (AlpDmlItemH itemH, AlpCatMgrDmlColumnType column, const char *value) |
|
||||||||||||
|
Creates an item
|
|
|
Destroys an item Note that the item must be created with alp_catmgr_dml_item_create with a valid AlpCatMgrDmlItemType so that this routine will know how to destroy it.
|
|
||||||||||||||||
|
Sets an int32_t value in an item. Passing NULL for value will flag that value as being unset, so that the database will store a NULL value for the integer (instead of say, 0). Note that the columns accepted by the item depends on the AlpCatMgrDmlItemType used when you called alp_contacts_dml_item_create
|
|
||||||||||||||||
|
Sets a string value in an item. The value parameter is copied into the item's structure, so the application does not need to maintain the memory after the function call. The copy is freed by alp_catmgr_dml_item_destroy() Passing NULL for value is different than passing an empty string. If you pass a NULL value, any existing string set is freed. NULL strings generally takes less storage in the database. If you try to set a string value for a field that has already been set, the previous field value will be freed. Note that the columns accepted by the item depends on the AlpCatMgrDmlItemType used when you called alp_contacts_dml_item_create
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.