charliem / OCM

An ORM layer for the Apache Cassandra web scale database
Apache License 2.0
20 stars 0 forks source link

One2Many ..? #2

Closed dodongjuan closed 14 years ago

dodongjuan commented 14 years ago

So there is Many2Many .. How do you define One2Many relationship

charliem commented 14 years ago

At present there is no formal one2many. However you can use a many2many and only store one item in one side. A formal one2many may be added in a future version.