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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

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

Okay