Skip to content
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

The link to official example of how to load models is not working #125

Open
giorgosera opened this issue Jul 21, 2020 · 1 comment · May be fixed by #138
Open

The link to official example of how to load models is not working #125

giorgosera opened this issue Jul 21, 2020 · 1 comment · May be fixed by #138

Comments

@giorgosera
Copy link

Hey there,

The link in the README https://github.com/sequelize/express-example/blob/master/models/index.js doesn't work anymore.

I'm trying to figure out how to work with this library but it's not very clear now that the example is not there.

Thank you!

@RaphaelTo
Copy link

Hi,
I guess my answer is too late but try this :

const models = { modelName: Model }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants