Skip to content

eval, nolock: true #70

@qharlie

Description

@qharlie

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 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions