|
Creates an index - Parameters:
-
| 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:
- XB_NO_ERROR no errors
- XB_OPEN_ERROR couldn't open file
- XB_NO_MEMORY mem allocation error
- XB_READ_ERROR couldn't read on device
- XB_INVALID_KEY_EXPRESSION bad index key expression
- XB_SEEK_ERROR seek error encountered
- XB_NOT_OPEN database wasn't opened
|
|