MongoDB introspection
You can observe MongoDB collections and fields in Database tool window.
GoLand 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 Sources and Drivers dialog (CtrlAltShift0S) .
In the Database tool window (View | Tool Windows | Database) , 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 required value.
Thanks for your feedback!
Was this page helpful?