caminte
caminte copied to clipboard
Neo4j
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?
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');
}
});
No one to answer !!!
Yah, I ended up going with Seraph