The Movie Database Support

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 reply (on page 1 of 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.

Can't find a movie or TV show? Login to create it.

ყველგან

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

მედიის გვერდზე

b go back (or to parent when applicable)
e go to edit page

ტელევიზიის სეზონების გვერდზე

(right arrow) go to next season
(left arrow) go to previous season

ტელევიზიის ეპიზოდების გვერდზე

(right arrow) go to next episode
(left arrow) go to previous episode

გამოსახულებების გვერდზე

a open add image window

რედაქტირების ყველა გვერდზე

t open translation selector
ctrl+ s submit form

დისკუსიების გვერდზე

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

გსურთ შეაფასოთ ან დაამატოთ ეს ელემენტი სიაში?

ავტორიზაცია