06-11-2019, 05:01 PM
Hi Clarence,
The apis cdb_read, cdb_readKeys, cdb_delete, cdb_deleteKeys, cdb_sort, and cdb_sync all take line-delimited lists of recordIDs as parameters. So, in the case of using those APIs, it is best to store and retrieve the recordIDs as a line-delimited list so it can just be passed in directly. Cdb_update does not accept a line-delimited list of recordIDs, however. To update multiple records at once, an array must be built as input for cdb_batchUpdate. In that case, you can repeat for each line in your list of recordIDs and build the update input array appropriately.
The apis cdb_read, cdb_readKeys, cdb_delete, cdb_deleteKeys, cdb_sort, and cdb_sync all take line-delimited lists of recordIDs as parameters. So, in the case of using those APIs, it is best to store and retrieve the recordIDs as a line-delimited list so it can just be passed in directly. Cdb_update does not accept a line-delimited list of recordIDs, however. To update multiple records at once, an array must be built as input for cdb_batchUpdate. In that case, you can repeat for each line in your list of recordIDs and build the update input array appropriately.