Class ExecutableMongoScript
java.lang.Object
org.springframework.data.mongodb.core.script.ExecutableMongoScript
Deprecated.
Value object for MongoDB JavaScript functions implementation that can be saved or directly executed.
- Since:
- 1.7
- Author:
- Christoph Strobl, Oliver Gierke
-
Constructor Summary
ConstructorDescriptionExecutableMongoScript
(String code) Deprecated.Creates newExecutableMongoScript
. -
Method Summary
-
Constructor Details
-
ExecutableMongoScript
Deprecated.Creates newExecutableMongoScript
.- Parameters:
code
- must not be null or empty.
-
-
Method Details
-
getCode
Deprecated.Returns the actual script code.- Returns:
- will never be null or empty.
-
eval
command has been removed without replacement in MongoDB Server 4.2.0.