Skip to content

Instantly share code, notes, and snippets.

View mtstrong17's full-sized avatar

Michael Strong mtstrong17

View GitHub Profile
var session = require('./session')
class User {
/**
Creates a User Node in neo4j
* @param {string} uuid (required) - refference id
* @param {string} parentId (required only if reffered by another user) - uuid of parentId
* @param {int/float} sRate (optional) - special rate between user and
* returns Promise
*/
static create(data,parentId=null,sRate = null){