The Movie Database Support Forum

I'm trying to integrate tmdb API in my project. I'm confusing to implement table relationship between movies and collections.

Possibility.

  • A movie or TV show can only be included in a specific collection. eg. Iron man 1,2,3 are in a collections called "Iron Man Movies". And it can not be added in a collection called "Marvel Cinematic Universe".
  • A movie or TV show can be included in one or more collections by the contributors preferences. eg. Iron man 1, 2, 3 can be in a collection called "Iron Man Movies". And on the other hand it can also be in a collection called "Marvel Cinematic Universe". So that could be many-to-many relationship.

Which one should preferred?

  1. One to Many
  2. Many to Many

1 Antwort (Seite 1 von 1)

Jump to last post

The correct case is the first one. As indicated in our rules, a movie can only be part of one single collection. The "Marvel Cinematic Universe" is not a valid collection.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden