The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: AG <agarcia...@gmail.com>
Date: Tue, 30 Oct 2012 18:16:00 -0700 (PDT)
Subject: Re: C# Driver, using linq's In operater ($in) for regex
Is there a way to express the $in query using regular expressions in the c# Something like this, but checking the regex against any member in the array? Query.Matches("Series", BsonRegularExpression.Create(new Thanks. On Monday, October 8, 2012 4:44:09 PM UTC-4, Sam Martin wrote:
> Hi all, > think this should be a simple one, but cant suss the syntax. > In mongo i can say > db.coll.find({ "myatt": { $in : [/^x/,/^y/]} }); > Is this possible using the "In" linq to mongo extension method? > I've tried passing the string[] as regex string but no surprise didn't > TIA You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||