You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed, that when relationships are used, you're setting the referential object id as as string rather than and ObjectId type. Is there any concern with this route, as far as speed and optimization?
The link Here seems to imply that references should be stored as this ObjectId type, since it takes up less space and is faster to query by.
And here is what I see in my database, showing that the type of the reference 'player_id' is stored as a string rather than an ObjectId:
I noticed, that when relationships are used, you're setting the referential object id as as string rather than and ObjectId type. Is there any concern with this route, as far as speed and optimization?
The link Here seems to imply that references should be stored as this ObjectId type, since it takes up less space and is faster to query by.
And here is what I see in my database, showing that the type of the reference 'player_id' is stored as a string rather than an ObjectId:
The text was updated successfully, but these errors were encountered: