vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Variable AggregateOptions.let

Map of parameter names and values. Values must be constant or closed expressions that do not reference document fields. Parameters can then be accessed as variables in an aggregate expression context (e.g. "$$var").

struct AggregateOptions
{
  // ...
  std.typecons.Nullable!(vibe.data.bson.Bson) let ;
  // ...
}

This option is only supported by servers >= 5.0. Older servers >= 2.6 (and possibly earlier) will report an error for using this option.

Authors

Jan Jurzitza

Copyright

© 2022 Jan Jurzitza

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.