and here the issue report: https://github.com/estebanlm/voyage/issues/6 
<https://github.com/estebanlm/voyage/issues/6>  :)


> On 12 Aug 2015, at 11:17, Esteban Lorenzano <[email protected]> wrote:
> 
> 
>> On 12 Aug 2015, at 10:56, [email protected] <mailto:[email protected]> 
>> wrote:
>> 
>> I had that issue and fixed it in the OID class which gave a wrong id. IIRC...
>> 
>> Afk now but will look for it and send the fix.
>> 
> 
> you are a contributor in 
> 
> http://smalltalkhub.com/#!/~estebanlm/Voyage 
> <http://smalltalkhub.com/#!/~estebanlm/Voyage>
> 
> feel free to commit your changes there.
> 
> And check the issue tracker: 
> 
> https://github.com/estebanlm/voyage/issues 
> <https://github.com/estebanlm/voyage/issues>
> 
> thanks,
> Esteban
> 
>> Phil
>> 
>> Le 12 août 2015 09:44, "Sabine Manaa" <[email protected] 
>> <mailto:[email protected]>> a écrit :
>> Hi,
>> 
>> on mongo console, this brings me a persons information from mongo db
>> db.Persons.find({"_id" : ObjectId("75b900000000000000000000")})
>> 
>> I try to query the same person from pharo and I do not succeed.
>> 
>> This makes my image hanging:
>> RKAPerson selectMany: {('_id' -> (OID value:'75b900000000000000000000'))}
>> 
>> also other variations e.g.
>> RKAPerson selectMany: {('_id' -> ('75b900000000000000000000')). }
>> asDictionary.
>> 
>> do not work
>> 
>> Other queries like
>> RKAPerson selectMany:{('lastName' -> ('Maier')).} asDictionary.
>> or
>> RKAPerson selectMany:{('nextTripNumber' -> (57)).} asDictionary.
>> 
>> work fine.
>> 
>> How can I query for an object with the object id?
>> 
>> Regards
>> Sabine
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://forum.world.st/Mongo-find-object-by-id-tp4842231.html 
>> <http://forum.world.st/Mongo-find-object-by-id-tp4842231.html>
>> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com 
>> <http://nabble.com/>.
>> 
> 

Reply via email to