Re: How to concatenate fields in MongoDB?

430 views
Skip to first unread message

Sam Helman

unread,
Nov 7, 2012, 4:04:28 PM11/7/12
to mongod...@googlegroups.com
Why not do this client-side?  A map-reduce function would slow down the query considerably over a simple find().  Alternatively, it may be worth the small extra data overhead to actually store the year-month-day field in the document if you know you will be querying or returning it directly. 
Reply all
Reply to author
Forward
0 new messages