-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mongoose virtuals #12
Comments
Hello, The virtuals are not stored in the database, they are mongoose model based fields (aliases or function return values added on the mongoose document). The module fetch the data with an aggregate so the concept of mongoose document is lost and an aggregate is returned. If you need the field, re-build the virtuals after the fetch by adding it in the data from data.aaData or directly in the client by fetching the needed values and using a mRender function. I hope this answer your question, if you need anything else let me know. |
Hi, |
You are welcome ! |
Looks like virtual selection isn't possible. Or maybe i'm doing something wrong.
The text was updated successfully, but these errors were encountered: