Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert statement unexpected behaviour in function #520

Open
gskarewad opened this issue Jan 8, 2019 · 0 comments
Open

insert statement unexpected behaviour in function #520

gskarewad opened this issue Jan 8, 2019 · 0 comments

Comments

@gskarewad
Copy link

gskarewad commented Jan 8, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant