Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl and MongoDB find error

by Anonymous Monk
on Apr 08, 2012 at 03:58 UTC ( #963964=note: print w/ replies, xml ) Need Help??


in reply to Perl and MongoDB find error

this should get only the user object from the collection

Why? You specify two users ... Maybe you'd like to use find_one?


Comment on Re: Perl and MongoDB find error
Re^2: Perl and MongoDB find error
by Kanishka.black0 (Beadle) on Apr 09, 2012 at 04:52 UTC
    it seems that mongodb "find" doesn't support query for fields, i though its would support them as in "find_one"

      it seems that mongodb "find" doesn't support query for fields, i though its would support them as in "find_one"

      It doesn't seem that way to me. See MongoDB::Examples

        that example might have been outdated, i checked the code of module , it doesn't support

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-04-18 03:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (460 votes), past polls