Erases the current key This method wraps the native ups_cursor_erase function. Erases a key from the Database. If the erase was successfull, the Cursor is invalidated, and does no longer point to any item. In case of an error, the Cursor is not modified. If the Database was opened with t
()
| 404 | * More information: <a href="http://files.upscaledb.com/documentation/html/group__ups__cursor.html#gaa1f88fb3a914a15339666519e4a180e1">C documentation</a> |
| 405 | */ |
| 406 | public void erase() |
| 407 | throws DatabaseException { |
| 408 | int status = ups_cursor_erase(m_handle, 0); |
| 409 | if (status != 0) |
| 410 | throw new DatabaseException(status); |
| 411 | } |
| 412 | |
| 413 | /** |
| 414 | * Returns the number of duplicate keys |