Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl and MongoDB find error

by Anonymous Monk
on Apr 08, 2012 at 03:58 UTC ( [id://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?

Replies are listed 'Best First'.
Re^2: Perl and MongoDB find error
by Kanishka.black0 (Scribe) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://963964]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-26 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found