eval command has been removed without replacement in MongoDB Server 4.2.0.@Deprecated public class ExecutableMongoScript extends Object
| Constructor and Description |
|---|
ExecutableMongoScript(String code)
Deprecated.
Creates new
ExecutableMongoScript. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Deprecated.
Returns the actual script code.
|
public ExecutableMongoScript(String code)
ExecutableMongoScript.code - must not be null or empty.public String getCode()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.