Giter Site home page Giter Site logo

Comments (2)

Andrew-S-Rosen avatar Andrew-S-Rosen commented on May 22, 2024 1

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.

davidlatwe avatar davidlatwe commented on May 22, 2024

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)

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.