sequelize / website

Our beloved website that contains all versions of our documentations and the API references.
https://sequelize.org
27 stars 149 forks source link

Associations count<assoc>s functions #291

Open rusekr opened 4 years ago

rusekr commented 4 years ago

What was unclear/insufficient/not covered in the documentation

Just tried BelongsToMany association roles<->permissions countPermissions(options) method of roles model with where in options and it worked as expected! Is it just undocumented or may broke in future?

If possible: Provide some suggestion how we can enhance the docs

http://docs.sequelizejs.com/manual/associations.html#belongs-to-many-associations in line with text "This will add methods getUsers, setUsers, addUser,addUsers to Project, and getProjects, setProjects, addProject, and addProjects to User." add count* functions examples like "countProjects and countUsers".

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has been open for 7 days without activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment or remove the "stale" label. 🙂