Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Rename str and func to javascript to make it more clear what is expec…
Browse files Browse the repository at this point in the history
…ted here.
  • Loading branch information
lanwin authored and samus committed Feb 20, 2010
1 parent 412f846 commit a0a480b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MongoDBDriver/Database.cs
Expand Up @@ -94,12 +94,12 @@ public class Database
this.SendCommand("logout");
}

public Document Eval(string func){
return Eval(func, new Document());
public Document Eval(string javascript){
return Eval(javascript, new Document());
}

public Document Eval(string func, Document scope){
return Eval(new CodeWScope(func, scope));
public Document Eval(string javascript, Document scope){
return Eval(new CodeWScope(javascript, scope));
}

public Document Eval(CodeWScope cw){
Expand Down

0 comments on commit a0a480b

Please sign in to comment.