clear

Function Details

void clear(bool b_truncate=true)
 

Remove all elements of the vector, make it an empty vector.

This function supports auto-commit.

Parameters

b_truncate

Same as that of db_vector::assign() .

Class

db_vector