LiteDbExplorer
LiteDbExplorer copied to clipboard
v5 changes.
This is my first time creating a pull request and contributing to a public project so please bare with me here. But I made LiteDbExplorer work with LiteDB v5 and wanted to share this with you. I really like your explorer because it's stylish and includes a dark theme compared to the "ugly" LiteDB.Studio.
Besides the obvious I've had to change a lot of BsonValue.AsString
calls to ToString()
since they would keep throwing InvalidCastException
's. I don't know if there was a fundamental change in LiteDB that causes this but with these changes it works for me. Since the LiteException
's error codes seem to have changed to I had to add some hardcoded string like "This data file is encrypted and needs a password to open"
as the ErrorCode
property is 0
when it fails. You might want to change that to const
? I've removed the AddFile
and SaveFile
methods from FileCollectionReference.cs
since they where not referenced anywhere.
I've tested creating/opening databases (with and without password), adding/editing tables and uploading/exporting files.
Hope this helps.
Was this ever merged? I do hope so. This was the best litedb browser until v5 broke it. Hope this can be added if it hasn't already
@Memphizzz Looks like this project has been abandoned. I see you already forked from this branch. You should merge your changes to your forked version.
Looks like @Memphizzz too has abandoned this and he doesn't have much activity on github. I made some further improvements (bug shooting, wonky windows etc). Did make a pull request of Mamphizz, but got no reply, so not sure what to do with it. If anyone wants my improvements, they're here: https://github.com/stigzler/LiteDbExplorerV5/tree/LiteDBv5