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

a few more issues w/ example #12

Open
ralyodio opened this issue May 18, 2015 · 2 comments
Open

a few more issues w/ example #12

ralyodio opened this issue May 18, 2015 · 2 comments

Comments

@ralyodio
Copy link

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})

@danielmewes
Copy link
Member

Thanks for reporting this @chovy .

As the error message says we renamed returnVals to returnChanges, and apparently forgot to update this example.

Pinging @deontologician

@danielmewes
Copy link
Member

Never mind, I opened a pull request #13

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

No branches or pull requests

3 participants