#include <vdkxtable.h>
VDKXTableIndex::VDKXTableIndex | ( | VDKXTable * | owner, | |
char * | s | |||
) |
Constructor
owner | VDKXtable that owns index | |
s | index file name |
xbShort VDKXTableIndex::Close | ( | void | ) |
Close index.
xbShort VDKXTableIndex::Create | ( | char * | key, | |
bool | unique = true , |
|||
bool | overwrite = false | |||
) |
Creates an index
k | index key (can be an expression as well) | |
unique | if true allows duplicated keys | |
overwrite | if true and table exist will be truncated and overwritten. Returns:
|