We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following example:
var user = yield User.create({ settingsId }) yield user.reload({ include: settingsAssociation }) _.isPlainObject(user.get({ plain: true }).settings) // false
It works when the dao is retrieved using querying, just not when reloaded with include.
include
The text was updated successfully, but these errors were encountered:
reload does not update the internal options of the instance (which contains what includes to iterate while doing a get).
reload
Sorry, something went wrong.
No branches or pull requests
Consider the following example:
It works when the dao is retrieved using querying, just not when reloaded with
include
.The text was updated successfully, but these errors were encountered: