MapReduceOperationBaseJavaScriptMode Property |
Note: This API is now obsolete.
Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax [ObsoleteAttribute("JavaScriptMode is ignored by server versions 4.4.0 and newer.")]
public bool? JavaScriptMode { get; set; }
<ObsoleteAttribute("JavaScriptMode is ignored by server versions 4.4.0 and newer.")>
Public Property JavaScriptMode As Boolean?
Get
Set
[<ObsoleteAttribute("JavaScriptMode is ignored by server versions 4.4.0 and newer.")>]
member JavaScriptMode : Nullable<bool> with get, set
Property Value
Type:
NullableBooleanRemarks
Setting this value to true can result in faster execution, but requires more memory on the server, and if
there are too many emitted objects the map-reduce operation may fail.
true if objects emitted by the map function remain as JavaScript objects; otherwise,
false.
See Also