5

This is related to How to print out more than 20 items (documents) in MongoDB's shell?. Right now I'm only seeing 20 items at a time returned from my IntelliJ MongoDB interactive shell. Things that I have tried:

  • Confirming IntelliJ Preferences >> Tools >> Database >> Data Views does not have any 20 item limit.
  • Executing DBQuery.shellBatchSize = 1000; in the IntelliJ MongoDB shell
  • Adding DBQuery.shellBatchSize = 1000; to .mongors.js file in my home directory (as the docs say).

How can I get remove this 20 item limit in IntelliJ MongoDB driver?

craastad
  • 6,222
  • 5
  • 32
  • 46

1 Answers1

13

Since 2021.1 version you can change the value of database.mongodb.page.size.limit Registry option. To open Registry dialog use Help | Find Action... and type "Registry":

enter image description here

Andrey
  • 15,144
  • 25
  • 91
  • 187