Comments (7)
This is not a bug but a behavior added from version >= v0.8.4.4, see issue #36.
In this GUI once the database is opened it is always connected (never disposes until closed) and all references are always in memory and directly 2 way binded with UI.
This was done to avoid problems mainly when editing and query the data.
from litedbexplorer.
So unless I'm
missing something This behavior really complicated day to day management of the db.
in order to edit document in the database i can do one of 2 options
1.close the website which obviously unacceptable
2.copy the database to new location do the changes and override the original database.
from litedbexplorer.
I completely understanding your use case.
Just out of curiosity, how do you connect to the database? Direct on Windows Server by RDP or any other?
Anyway in the next release I will allow this in setting for use at own risk.
from litedbexplorer.
In my case, the DB file is located in a shared folder (website pc) and I open the file from my laptop.
Allowing this option will help a lot, because right now I can't afford myself to disable the site while the db file is opened in the explorer.
Thanks!
from litedbexplorer.
Im using rdp directly to the server
from litedbexplorer.
Think of it like a standard DB explorer, like SQL Server Management Studio. Obviously it doesn't lock the DB when you are connected.
You can just connect and dispose the connection on each query, can't you?
from litedbexplorer.
When using the document screen the interface is directly binded to database collection, no RPC, DTO, change tracker, transaction, active record or something else.
When editing a document is the same case, the difference is that binding is applied only on confirm dialog.
In short, the document screen is dealing with all raw database collection data directly.
In the query screen is another case and is read only.
When I changed the connection mode to exclusive it was just to avoid issues (ike editing old records, since LiteDB no has change notifications).
Before that I never had problems with my use cases, but I also never used concurrently.
As I said earlier, I have no problem with setting the connection mode as configurable for use at your own risk.
from litedbexplorer.
Related Issues (20)
- OutOfMemoryException HOT 8
- Multiple viable DialogHosts Bug
- Comments Not Ignored
- Enhancement Request: Save/Load Query Files HOT 2
- Enchancement Request: V5 Support HOT 7
- Any plan import from 'csv' file and 'json' file ? HOT 3
- Application crashes when openend for a while HOT 2
- Enhancement Request: Option to Save DB Passwords HOT 1
- Show timer on queries HOT 2
- Cannot edit _id HOT 2
- Update not working on "shared" mode HOT 1
- Incorrectly reporting its version number 0.8.5.2 ... says it's v0.8.5.1 HOT 1
- Unable to click on Refresh button when switching between table tabs. HOT 4
- Copying entries crashed application HOT 1
- Can't open/work with db when file open in another application HOT 1
- Can you build up a Mac version? HOT 1
- Won't Open Database, No Error HOT 2
- Is There A Plan to Support Version 5 ? HOT 12
- dbexplorer is crashing everytime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litedbexplorer.