Add Sequelize#model to fetch DAOFactory of previously defined model#868
Merged
sdepold merged 1 commit intosequelize:masterfrom Sep 1, 2013
Merged
Add Sequelize#model to fetch DAOFactory of previously defined model#868sdepold merged 1 commit intosequelize:masterfrom
sdepold merged 1 commit intosequelize:masterfrom
Conversation
lib/sequelize.js
Outdated
Contributor
Author
|
Oh shoot, not at all. I had the bind before I looked around and noticed the repository typically defines self = this. Will push an update shortly... |
Member
|
No worries man, sorry for being nitpicky :( other than that very cool :D and thanks! |
Contributor
Author
|
No problem! I understand wanting consistent code style within a project. Incidentally, that is how I accidentally ended up with that The updates you requested are incorporated - not sure what sort of notification you get when I amend to the commit of a pull request. |
Member
|
@jwilm we mostly skip the |
Member
|
and thanks for the PR :) |
sdepold
added a commit
that referenced
this pull request
Sep 1, 2013
Add Sequelize#model to fetch DAOFactory of previously defined model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This provides some basic currying to the user for fetching
DAOFactorys. I would update the docs too if I could figure out how they're generated.