Is there a difference between the "credit_id" as returned from the episode methods and the "cast_id" in movie?
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 1 novembre 2013 à 10h20
One is an integer and the the is an object ID, other than that difference no. The meaning behind the id is the same, to reference a single entry by an absolute, non changeable value.
Réponse de Stuart Boston
le 1 novembre 2013 à 10h31
So, if I am modelling this, they are synonymous.
They provide the same information, i.e. a pointer to a source episode or movie
Réponse de Travis Bell
le 1 novembre 2013 à 10h44
Correct and they are named differently because they don't provide the same value (integer vs. a BSON Object Id). Credits work way differently for TV and it didn't make sense to model them the same way. In fact, one day it would be really nice to mimic the model back to movies but that's another job for another time ;)
Réponse de Stuart Boston
le 1 novembre 2013 à 10h46
Great, thanks. For my purposes, I'll store them the same until you change it ;)