Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 imbibing at the Monastery: (5)
As of 2014-07-25 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls