David Golub

Results 19 comments of David Golub

Is there a particular exception class that can be used to specify an exit code and error message, or do we need to define our own exceptions?

Right, which is why a number of us have been asking for a simple way to return an error code.

I would suspect that there are developers who have strong preferences for both, much like with `int main()` and `void main()` in C/C++.

..or even version 3

This was an oversight in building the driver extension. I'll look into adding this feature in a subsequent version. (1.1.0 is largely finalized at this point, so it will probably...

I'm not sure exactly what you mean by embedded document support in this context. That said, this extension has now been incorporated into the latest version of the MongoDB C#...

That looks like it should be right. Is it not returning the correct results for you?

You should be able to get that by adding a `$sort` stage after the `$search` stage.

The `$search` stage needs to come at the beginning of the pipeline in order to work properly. If you move `Search` ahead of `Match`, that should do the trick.