website icon indicating copy to clipboard operation
website copied to clipboard

Associations count<assoc>s functions

Open rusekr opened this issue 5 years ago • 1 comments

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".

rusekr avatar Jul 24 '19 08:07 rusekr

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. 🙂

github-actions[bot] avatar Nov 08 '21 00:11 github-actions[bot]