Comments (2)
Thank you so much for the reply! Mainly, this is helpful just to know that I can stop trying to see what I'm doing wrong :) I unfortunately don't know enough about SQLite to help with a PR (hence why I was trying montydb
to make it more Mongo-like!), but maybe someone will feel inclined to give it a go. Thanks again!
from montydb.
Hi @arosen93 👋🏼
This is interesting. But I'm afraid that's not gonna work. 😢
Because montydb
uses a SQLite database as a key-value database, here's the command for table creation (or see here):
CREATE TABLE [{}](
k text NOT NULL,
v text NOT NULL,
PRIMARY KEY(k)
);
As you can see, it only has two columns, and if I remember correctly, the value it stores is BSON encoded binary blob. So unless your existing database happens to store data in the same manner, it won't work.
Would be great to have this supported though, might does the trick with a thin mapping/schema layer that wraps around the existing database... Anyway, I am not working on this project for quite a while, cannot say for sure when this will happen, but pull-request is always welcome. 😊
from montydb.
Related Issues (20)
- Permission denied with empty collections on LMDB HOT 2
- Tests failed if pymongo==3.12.0 is used HOT 1
- Indexes support HOT 1
- Support for Mongoengine HOT 6
- importing MutableMapping breaks on Python 3.10 HOT 1
- Implement MongoDB aggregate
- $slice projection does not return other fields HOT 1
- Updating a document in an array leads to an error
- Multi(tasks
- Working with gridfs ? HOT 1
- MontyClient instanciation fails HOT 3
- How to install montydb with lmdb option? HOT 1
- ConfigurationError: montydb has been config to use BSON and cannot be changed in current session. HOT 8
- Confusing behavior of set_storage vs. MontyClient with memory
- Support regexes with `$not` HOT 8
- Potential race condition fix? HOT 5
- Implementing `find_one_and_update()` HOT 1
- Support for Python 3.12 HOT 4
- Feature Request: Add support for reading/writing in concurrent processes
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 montydb.