0.0.3 • Published 1 year ago

oyster-db v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

oyster-db

OysterDB provides an innovative solution for storing enormous data sets properly, building complex data relations and ensuring object relation integrity. In addition, OysterDB provides Flexible data modelling, Distributed ACID transactions and Composite indexing. It is a secure, scalable and fast Data API for data-intensive and mission-critical applications.

const Oyster = require('oyster-db');
const oyster = new Oyster({ 
	url: "redis://127.0.0.1:6379", 
	prefix: "none" 
});

OYSTER

Example Call

oyster.call('add_block',{
    _label: 'comments',
    _id: '12345',
    _hosts: ['school:019029'],
    _members: ['hoppies:039049'],
    fullname: 'bahi hussein abdel baset',
    lastname: 'ismail',
    label: 'vodo',
    hoppies: 'flying',
    ok: ['3', '3', '3', '123'],
    tom: {
        cort: {
            r: 0.123,
            x: 'will be deleted'
        }
    },
    experince: {
        dog_years: 154
    }
})
{
	"_label":"comments",
	"_id":"comments:123",
	"fullname":"bahi hussein abdel baset",
	"lastname":"ismail",
	"label":"vodo",
	"hoppies":"flying",
	"ok":"["3","3","3","123"]",
	"tom":{
	"cort":{
	"r":"0.123",
	"x":"will be deleted"
	}
	},
	"experince":{
	"dog_years":"154"
	}
}