We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var result = yield r.table('todos').get(todo.id).update(todo, {returnVals: true}).run(this._rdbConn);
getting this message:
return_vals renamed to return_changes in: r.table("test").get("d53419a8-7a4c-4a8c-ab0c-338a8c677170").update({id: "d53419a8-7a4c-4a8c-ab0c-338a8c677170", name: "Joe2a"}, {returnVals: true})
The text was updated successfully, but these errors were encountered:
result.new_val;
Thanks for reporting this @chovy .
As the error message says we renamed returnVals to returnChanges, and apparently forgot to update this example.
returnVals
returnChanges
Pinging @deontologician
Sorry, something went wrong.
Never mind, I opened a pull request #13
No branches or pull requests
var result = yield r.table('todos').get(todo.id).update(todo, {returnVals: true}).run(this._rdbConn);
getting this message:
return_vals renamed to return_changes in: r.table("test").get("d53419a8-7a4c-4a8c-ab0c-338a8c677170").update({id: "d53419a8-7a4c-4a8c-ab0c-338a8c677170", name: "Joe2a"}, {returnVals: true})
The text was updated successfully, but these errors were encountered: