Click or drag to resize

MapReduceOperationBaseJavaScriptMode Property

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.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public Nullable<bool> JavaScriptMode { get; set; }

Property Value

Type: NullableBoolean
Remarks
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