0.0.4 ā€¢ Published 2 years ago

featherdb-redis v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

featherdb-redis

A Redis that is utilized with Axion functions like OysterDB and Hyberview.

const featherdb = require('featherdb');
const oyster = new featherdb.Oyster({ 
	url: "redis://127.0.0.1:6379", 
	prefix: "none" 
});
const hyperview = new featherdb.Hyperview({ 
	url: "redis://127.0.0.1:6378", 
	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"
	}
}

HYPERVIEW

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago