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

eval, nolock: true #70

Open
qharlie opened this issue Dec 27, 2011 · 0 comments
Open

eval, nolock: true #70

qharlie opened this issue Dec 27, 2011 · 0 comments

Comments

@qharlie
Copy link

qharlie commented Dec 27, 2011

For MongolianDB.prototype.eval it would be nice to have a way to specify nolock , and have the default be nolock = true since it's rare you would actually want it to lock.

I just changed

var command = { $eval:new bson.Code(execFunction, execFunction.scope || {}) }

to read

var command = { $eval:new bson.Code(execFunction, execFunction.scope || {}), nolock: true }
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

1 participant