This is interesting. Graph databases are an extremely hot subject, so you are in the right path. Have you ever take a look at Neo4j?
Neo4j did an amazing job, very easy to use. When you talk about Join operations, what should that do? Sorry but I couldnt understand. I dont know if I am tired or if the name is not clear enough, since people may confuse with relational databases type of Joins ... Good luck! Em sábado, 27 de abril de 2013 13h53min39s UTC-3, Matteo Collina escreveu: > > Hi Everyone, > > I have just released LevelGraph<https://github.com/mcollina/node-levelgraph>a > tiny graph database on top of LevelUp. > It supports getting/adding/updating/deleting the triples as you would > expect. > Moreover, it also supports joins: > > db.put([{ > subject: "matteo", > predicate: "friend", > object: "daniele" > }, { > subject: "daniele", > predicate: "friend", > object: "matteo" > }, { > subject: "daniele", > predicate: "friend", > object: "marco" > }, { > subject: "lucio", > predicate: "friend", > object: "matteo" > }, { > subject: "lucio", > predicate: "friend", > object: "marco" > }, { > subject: "marco", > predicate: "friend", > object: "davide" > }], function () { > db.join([{ > subject: "matteo", > predicate: "friend", > object: db.v("x") > }, { > subject: db.v("x"), > predicate: "friend", > object: db.v("y") > }, { > subject: db.v("y"), > predicate: "friend", > object: "davide" > }], function(err, results) { > // this will print "[{ x: 'daniele', y: 'marco' }]" > console.log(results); > }); > }); > > I am eager to get some real feedbacks, and any criticism is welcome. > > Cheers, > > Matteo > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
