• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RecordID list
#2
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.
  Reply


Messages In This Thread
RecordID list - by clarencemartin - 06-11-2019, 04:01 PM
RE: RecordID list - by Jamil Semaan - 06-11-2019, 05:01 PM
RE: RecordID list - by clarencemartin - 06-11-2019, 05:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)