How to fetch more fields for MongoDB introspection
You can observe collections and fields in the database explorer. PhpStorm fetches the first 10 documents from each collection to get information about the fields. You can customize this behavior by specifying the fetch_documents_for_metainfo
JDBC parameter on the Advanced tab of the data source properties dialog.
In the Database tool window ( ) , right-click MongoDB data source and select Properties.
Click the Advanced tab.
In the parameter table, scroll down till you see
fetch_documents_for_metainfo
.Double-click the Value cell of the
fetch_documents_for_metainfo
parameter.Specify the desired value.
Last modified: 14 March 2024