简体   繁体   中英

Does Geddy have support for has and belongs to many associations?

I'm developing a Geddy application where I need a "has and belongs to many" association. Is this possible? It looks like only hasOne, hasMany, and belongsTo associations are supported in the docs.

Have you tried stacking the associations?

this.hasOne('thing')
this.hasMany('things')

You should be able to. Otherwise, submit an issue or hop on the #geddy freenode IRC channel and we'll help you out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM