CLion 2025.1 Help

MongoDB introspection

You can observe MongoDB collections and fields in Database tool window.

CLion 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 ( Shift+Enter) .

Fetch more documents

  1. In the Database tool window (View | Tool Windows | Database) , right-click MongoDB data source and select Properties.

  2. Click the Advanced tab.

  3. In the parameter table, scroll down till you see fetch_documents_for_metainfo.

  4. Double-click the Value cell of the fetch_documents_for_metainfo parameter.

  5. Specify the required value.

    Fetch more documents for MongoDB introspection
Last modified: 07 April 2025