DEV Community

Keerthi Vasan
Keerthi Vasan

Posted on

1 1

NoSQL with joins

With SavanahDB you can insert your document like this:

tb.insert({

 author:"john",
 price:500,
 country:"xxx",

})
Enter fullscreen mode Exit fullscreen mode

And search through documents like this :

tb.search('(country == "yyy" & & author =="john" ) || price < 1400', {
 limit : 5
 join : {
    books : 'that.author == this.name', 
 genre: 'that.name == this.genre as genre_info'
}}) 
Enter fullscreen mode Exit fullscreen mode

Pretty amazing right?
It's right here: Kanna_Sip https://npmjs.com/savanahdb

It's just a beta but works,a stable release will arrive in Saber Edition dropping soon!!

I am just one student working on this so if you would like to support me you can become my patron here : https://patreon.com/savanah

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay