internal static void Del(IntPtr cursor, CursorDelOption option) { int err = _delDelegate(cursor, option); if (err != 0) { throw new MdbxException("mdbx_cursor_del", err); } }
/// <summary> /// Delete current key/data pair /// /// This function deletes the key/data pair to which the cursor refers. /// This does not invalidate the cursor, so operations such as MDBX_NEXT /// can still be used on it. Both MDBX_NEXT and MDBX_GET_CURRENT will return /// the same record after this operation. /// </summary> /// <param name="option"></param> public void Del(CursorDelOption option = CursorDelOption.Unspecific) { Cursor.Del(_cursorPtr, option); }