Is there a difference between the "credit_id" as returned from the episode methods and the "cast_id" in movie?
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط Travis Bell
در تاریخ نوامبر 1, 2013 ساعت 10:20 ق.ض
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.
پاسخ توسط Stuart Boston
در تاریخ نوامبر 1, 2013 ساعت 10:31 ق.ض
So, if I am modelling this, they are synonymous.
They provide the same information, i.e. a pointer to a source episode or movie
پاسخ توسط Travis Bell
در تاریخ نوامبر 1, 2013 ساعت 10:44 ق.ض
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 ;)
پاسخ توسط Stuart Boston
در تاریخ نوامبر 1, 2013 ساعت 10:46 ق.ض
Great, thanks. For my purposes, I'll store them the same until you change it ;)