Hi, in Sequelize JS is it possible to refer to a model twice from another model? For example, if in Project I would like one User reference for the...
January 15, 2012 /
Yes this is possible. You have to add the ‘as’-option to your
definition. Take a look at this part of the
Hope that helps