int db::CursorRowAccessor::truncate_blob ( int  field,
db_len_t  size 
) [virtual, inherited]

Truncate BLOB (Binary Large OBject) field to size.

Parameters:
field The index of the field that should be written to. Use find_field to obtain this index. (>=0, <# of fields) (required)
size The size to reduce the BLOB to in bytes. (>=0)
Returns:
See also:
write_blob, write_blob_final, read_blob, get_blob_size

Implements db::RowAccessor.


Copyright © 2005-2008 ITTIA®. All rights reserved.