--
http://mongoosejs.com
http://github.com/learnboost/mongoose
You received this message because you are subscribed to the Google
Groups "Mongoose Node.JS ORM" group.
To post to this group, send email to mongoo...@googlegroups.com
To unsubscribe from this group, send email to
mongoose-orm...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/mongoose-orm?hl=en
Hi, I am trying to sort on top of populate as is described in this thread, but it simply does not work for me.I have a File schema with a ref to a User schema called "owner_ref".The User schema has: { _id: ObjectId, profile: { name : { display: String } } } // embeddedI do:var q = File.find( {} );q.populate('owner_ref', ['_id', 'profile'], null, { sort : [["profile.name.display", parseInt( sp.direction) ]] } );Is there something wrong with my query? Are you not allowed to sort on dot notation?thanks! -august.--