Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for pouchdb #128

Open
ralyodio opened this issue Jun 18, 2024 · 0 comments
Open

add support for pouchdb #128

ralyodio opened this issue Jun 18, 2024 · 0 comments

Comments

@ralyodio
Copy link
Contributor

import PouchDB from 'pouchdb';
import pouchdbAdapterLeveldb from 'pouchdb-adapter-leveldb';

PouchDB.plugin(pouchdbAdapterLeveldb);

// Create a database instance and specify the storage path
const db = new PouchDB('my_database', {adapter: 'leveldb', prefix: './data/'});

// Now the database will store its data in the './data/' directory

This can be good for sqlite alternative that is nosql.

@terrablue terrablue added this to the 0.33.0 milestone Jun 18, 2024
@terrablue terrablue removed this from the 0.33.0 milestone Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants