OzzyRMOzzyRMDocs
GlossaryAttributes

many-to-one

Many records on this side point to one record on the other.

Many records on this side point to one record on the other.

Many-to-one is the inverse view of one-to-many. The foreign key usually lives on the many side, such as Post.authorId referencing User.id.

On this page