Hello, is this the recommended way to append data to a record:
1) Find the entry with ham_cursor_find() with rec set to NULL, so that data is not read in.
2) Get the size of the record with ham_cursor_get_record_size()
3) Write to the record via ham_insert with the flags HAM_PARTIAL and HAM_OVERWRITE with the rec.size member set larger than the size returned by step #2
I couldn't find much information in the documentation about this, and was surprised that if I didn't pass in a larger rec.size when overwriting a record that my input would be truncated. (This is what I understood from the "
Working with partial access" wiki page)
Is this the generally accepted way to grow records?
Thank you!
-E