[CSHARP-1864] get JSON query to mongo on aggregation as string Created: 07/Dec/16 Updated: 05/Apr/19 Resolved: 07/Dec/16 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | BSON |
| Affects Version/s: | 2.2.3 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Alexander Zel | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | Feature, question | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
.NET c# |
||
| Attachments: |
|
| Description |
|
IS it possible to get JSON (as string) for mongo from C# in code. ^var aggregate = procuraCollection.Aggregate(new AggregateOptions() { AllowDiskUse = true, UseCursor = true }); |
| Comments |
| Comment by Alexander Zel [ 07/Dec/16 ] |
|
Console.WriteLine(aggregate.ToString()); |