Strapi Relations 101

Intro

Relations in Strapi

Key Concepts

To better understand how relations work let’s get first familiar with a few scary (read ‘technical’) words:

Cardinality

Directionality

Association Types

Single

This is the simplest case, you just want to connect 2 content-types, such as Authors to Posts.

Polymorphic

This type is more complicated to handle on the database side. This is why it’s usually hard to pull off in a CMS.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store