orientechnologies / orientdb-studio

Studio web tool
Other
127 stars 50 forks source link

insert statement unexpected behaviour in function #520

Open gskarewad opened 5 years ago

gskarewad commented 5 years ago

System Info Ubuntu : 16.04 OrientDB: 3.0.13 OrientJS: 3.0.1

I have a function in database which goes like this var g = orient.getDatabase(); newComponent = g.command("insert into " + component.ObjectClass + " content " + JSON.stringify(dataToClone)); g.commit(); operationResult.push(newComponent); When i run this funtion in orientdb version 3.0.1 or lower it works perfectly fine. Expected Result operationResult has records which are newly created. Actual result But this same function do not returns values with latest orient db versions.