Mongodb Field Aliases

279 views
Skip to first unread message

Anoop Madhusudanan

unread,
Apr 27, 2011, 7:38:03 AM4/27/11
to mongodb...@googlegroups.com, mongod...@googlegroups.com
How to represent a field name alias in Mongodb JSON query? Is it supported in the C# driver? Thanks

Anoop Madhusudanan
Microsoft MVP, Client App Dev
http://amazedsaint.com


craiggwilson

unread,
Apr 27, 2011, 7:49:41 AM4/27/11
to mongodb...@googlegroups.com, mongod...@googlegroups.com
Could you give an example of what you are talking about?  I could go a number of different ways with an answer.

craiggwilson

unread,
Apr 27, 2011, 7:51:02 AM4/27/11
to mongod...@googlegroups.com, mongodb...@googlegroups.com
This is a cross-post from the mongodb-csharp forum. https://groups.google.com/d/topic/mongodb-csharp/wnhsxqvMShI/discussion

Shirsendu

unread,
May 2, 2011, 2:15:49 PM5/2/11
to mongodb...@googlegroups.com, mongod...@googlegroups.com
well through mongodb.linq it is not possible.it might be possible through find as mehtod in mongodb c# driver.I am not sure about this.I have to check.

Steve Wagner

unread,
May 2, 2011, 2:27:09 PM5/2/11
to mongodb...@googlegroups.com
Craig has already extracted the Linq driver from the inoffical driver to
work with the official driver.

https://github.com/craiggwilson/fluent-mongo

Reply all
Reply to author
Forward
0 new messages