PDA

View Full Version : Limit Big Data



marielb
06-18-2012, 09:44 AM
Hi, I keep getting an out of memory error when reading from my MongoDB - how do I limit the number of rows to be read to, say, 1000?

marielb
06-26-2012, 10:33 AM
I know in the MongoDB Input dialogue, you can specify a json query and I suppose that's what goes into the ".find()" function, but what if i wanted to do .find(<query>).limit(50)?