This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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){ |