Coder Social home page Coder Social logo

litedbexplorer's People

Contributors

a44281071 avatar josefnemec avatar malmas18 avatar pathogendavid avatar swurzinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

litedbexplorer's Issues

Respect field order in grid view

Fields are currently order by name, which might not be wanted behavior. This will add option to choose between ordering fields by name or to respect position in original BSON documents.

Originally requested in #7

Refreshed UI, Document Preview Tree, portable exe...

I made some (a bit) changes to my fork.
Compile and run and see if you like it for a pull request or I follow standalone.

The next step will be a large refactor to allow tabs...

Note: This fork uses private fields camelCase with underscore.

Errors loading database

I was able to load a database once, but now I just get errors.

When I try and load a database using File->Open I get:

Failed to open database: Access to the path 'C\Program Files (x86)\LiteDbExplorer\recentfiles.txt' is denied.

When I try to load the same database using the recent files drop down list I get:

Unhandled exception occurred.
Additional information written into: 'C\Program Files (x86)\LiteDbExplorer\explorer.log'
Application will shutdown.

I check the path for explorer.log but it doesn't exist.

I think these settings and log files should be written to app data or something like that instead of program files.

Doesn't read Decimal

When the LiteDB has a value of {"$numberDecimal":"95.00"} in the field it will not show it in your Explorer

Support for shell commands

Hi @JosefNemec, first, nice work here. Thanks for contribute with open source community and LiteDB.

I'm working on next LiteDB and now I'm adding (back) support to shell commands inside LiteDB.dll. And I'm doing this to any LiteDB IDEs runs string commands. Support shell command will be great as used in Robomongo (https://robomongo.org/).

I always wanted create a GUI app to LiteDB, but I never worked with WPF ๐Ÿ˜„

import backup?

Are there any plans to create an import process for exported data?

show metadata correctly

Cool app, for quick look inside db.
Things im missing, ideas to improve - files metadata displayed, and if I click open to edit them it doesnt show anything.
remember last opened db when I reopen app.
paging of items when lots of them (using skip take from lite db.)- pagesize parameter in ui.
Longer future - Make it portable in .net core.

Best Regards

Save/Load Queries

This is a fantastic tool. Thanks much. Wondering if you had any plans to allow for saving/loading of queries within the tool? Would be convenient instead of copying/pasting.

Add bulk editing

Currently it's not possible to edit values on multiple documents via single change. This issue will add bulk editing, which will allow to select multiple documents and apply changes from one edit dialog to all of them.

explorer.log should be in AppData; failing to be written in Program Files (x86)

Great program! When an exception is thrown though, the error message says "Unhandled exception occured. Additional information written into 'C:\Program Files (x86)\LiteDbExplorer\explorer.log'". First, the log file does not exist, which I would guess is because of the second problem, which is that Program Files folders are not supposed to be written to, and cannot be written to if the program is not running under an admin user. Data like log files should be written to an AppData folder.

Ignore Comment Lines

Looks like the editor correctly highlights lines preceded with a double-dash, i.e. "--" in green, or between "/" and "/", thereby indicating they are recognized as comments. However, when pushing F5, the tool does attempt to run that as code and the comment does not get ignored, hence the following error would appear:

Error on Query 1:
'db.--'
Command 'db.--' is not a valid shell command.

Would be great to ignore commented out lines/blocks

Unicode character mapping

Is this normal when the Cyrillic characters here are displayed? Is there anything you can do about it?
123
321

Refreshing the database contents

Hello,

is it possible to add a refresh option? I am developing an application and I can never see what I am doing. Opening the same database file again doesn't update it, F5 doesn't update it, there is no update button in the toolbar, there is no update item in the menu, no update item in the context menu of the database... I have to exit and start the program over and over again.

Thanks! Love the program so far!

Cannot delete certain indexed DateTime entries

I have a simple test database generated by the following code. The problem is that when I delete all 4 records in LiteDbExplorer and then click "Refresh" button the last two reappear. For some reason the fields generated by DateTime.Now cannot be deleted.

public class LogSample
   {
       [BsonId]
       public DateTime Time { get; set; }
       public string Notes { get; set; }
   }

class Program
   {
       static void Main(string[] args)
       {
           using (var db = new LiteDatabase("Test.db"))
           {
               var collection = db.GetCollection<LogSample>("TestCollection");

               collection.Insert(new LogSample { Time = new DateTime(2017, 1, 1), Notes = "Note 1" });
               collection.Insert(new LogSample { Time = DateTime.Today, Notes = "Note 2" });
               collection.Insert(new LogSample { Time = DateTime.Now, Notes = "Note 3" });
               collection.Insert(new LogSample { Time = DateTime.Now.AddDays(-1), Notes = "Note 4" });

               var allEntries = collection.FindAll();
               foreach (var entry in allEntries)
               {
                   Console.WriteLine("Log entry: " + entry.Time + " " + entry.Notes);
               }
               Console.ReadKey();
           }
       }
   }

Index not found on '<primary key>'.

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

Improve performance

Explorer currently loads all items from collection into view. Implement some kind of lazy loading mechanism or limit view to pages with only limited number of items display at a time.

Version 5 Support

Are there any plans to support version 5? This tool beats the hell out of LiteDB Studio, but not being able to use it with version 5 makes it unusable for me :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.