dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 376 forks source link

autoFetch: omitting certain fields, and ordering #536

Open devand123 opened 10 years ago

devand123 commented 10 years ago

Hello everyone,

I haven't seen anything in the documentation in regards to my questions, so I'll just go right ahead and ask them:

Is it possible to omit a certain field from a result in a collection that was autofetched? Is it also possible to order your autofetched collection based off of something like date?

Lao-Ben commented 10 years ago

Same question : Is it possible to omit a certain field from a result in a collection that was autofetched?