Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Perl MongoDB Results and Version (batch_size??)

by bangor (Monk)
on Sep 21, 2018 at 22:15 UTC ( [id://1222823]=note: print w/replies, xml ) Need Help??


in reply to Perl MongoDB Results and Version (batch_size??)

The docs say that the aggregate() method returns a MongoDB::QueryResult object, so have a look at that - you could try
my @out; while ( my $doc = $collect->next ) { push(@out,$doc) }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1222823]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-29 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found