Question about schema filed array type

Hi,

I have a question about the schema field array type

Like the attached screenshot

movies-array-field

When I click the grey bar “string”, it shows a group of names

image

and click image button, it shows different list of names.

My question is whether it just displays random names,not all values of “cast” ?

Thanks,
Jake

Hi @Jake_03889,

According to MongoDB Documentation, Schema tab provides a sample data to analyze. It displays “not random” but values from the cast field from multiple documents.

You might as well want to update Compass to 1.16.3 Stable version (latest), when you click on String and hover on columns in the chart, it shows Schema like this:

24%20PM

I hope it helps.

Kanika