Skip to content

jackatbancast/bettaDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bettaDB

A better embedded Database, modelled on MongoDB

The database is event-driven, and based on top of eventedpy

Usage

Currently supported methods are insert, delete, find and find_one

from bettadb.client import Client

c = Client()

c.insert(
    'test', #Collection
    {'hello': 'world'}, #Document
    lambda err, doc: print(doc) #Callback
)
#Prints {'hello': 'world'}

print(c.datastore.namespace)
#prints {'test': [{'hello': 'world'}]}

About

A better embedded Database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages