caminte icon indicating copy to clipboard operation
caminte copied to clipboard

Neo4j

Open PerfectedApp opened this issue 11 years ago • 3 comments

I've looked at the documentation, but I dont see examples related for Neo4j. Any chance there can be some example showing relationships and some of the advanced Cypher querying?

PerfectedApp avatar Jan 08 '14 15:01 PerfectedApp

I think neo4j in caminte is broken. Has anyone gotten it to work?

I have tried caminte with neo4j, but I keep getting "Saving User ERROR : TypeError: Cannot read property 'url' of undefined"

I concealed my server url.

My code: var caminte = require('caminte'); var Schema = caminte.Schema; var db = { driver : "neo4j", url : "http://username:[email protected]/db/mydb" };

    var schema = new Schema(db.driver, db);

    var User = schema.define('User', {
        first:         String,
        last:         String,
        email:         String,
        gender:         String,         
        password:         String
    });

    var newUser = User();

    newUser.first = "Chucky";

    newUser.save(function (err) {
        if (err){
            console.log('Saving User ERROR : ' + err);
        }else{
            console.log('User saved Successfully');
        }
    });

NoodleSploder avatar Jun 15 '14 18:06 NoodleSploder

No one to answer !!!

yasserMokh avatar Mar 30 '15 10:03 yasserMokh

Yah, I ended up going with Seraph

NoodleSploder avatar Mar 30 '15 20:03 NoodleSploder