public class CodeWScope extends Code
| 构造器和说明 |
|---|
CodeWScope(java.lang.String code,
BSONObject scope)
Creates a new instance
|
public CodeWScope(java.lang.String code,
BSONObject scope)
code - the JavaScript codescope - the scope as a documentpublic BSONObject getScope()