JosefNemec / LiteDbExplorer

Viewer and editor for https://github.com/mbdavid/LiteDB databases.
MIT License
218 stars 104 forks source link

Index not found on '<primary key>'. #33

Open sekulicb opened 5 years ago

sekulicb commented 5 years ago

Hi. I have strange behavior when it comes to editing data directly with LiteDb Explorer. When I try to modify existing row in random table, and then try to fetch that row from my WPF client application I get following exception:

litedb error

This happens every time I try to temper with data directly through LiteDb Explorer. Looking at my code, I'm not using indexes at all (in my repository layer) since most of the tables will have no more then 10 rows in real life. I have to drop whole table and re-populate it using my WPF app. Any thought on this?

Thanks,

Bane

JosefNemec commented 5 years ago

No idea either, Explorer doesn't manipulate indexes. It might be LiteDB issue or incompatibility between LiteDB versions (I haven't updated LiteDB in LDBExplorer in a long time).