here's one i've used a bit.
It returns documents where one of the elements in the series array exists
in an collection of regular expressions created from a string array.
i.e. all docs where at least one of the Series elements starts with one of
the items in my string array. /^xxxx/, /^yyyy/
, mystringrray.Select(p => BsonRegularExpression.Create("/^" + p + "/")));
does that help?
On 31 October 2012 01:16, AG <agarcia...@gmail.com> wrote: