sequelize difference between hasone and hasmany

Query is equal, 

hasone return the first instance  from the collection,hasmany return the whole collection.

posted @ 2018-10-11 15:52  ybleeho  阅读(245)  评论(0编辑  收藏  举报