Hi Stephane,

I have collected my points to add to the book.

Can you give me an entry point how to do a pull request on the paper please?
Pillar? Editor? Script? Sounds complicated for the first time.

If you can use pillar this is better, else we will do a pass and convert it to pillar
Since the chapter is for the book that should be out I'm not that editing it directly is a good.
Now what we can do is to work on on a separate file that Johan or Esteban can merge to the chapter once
it is finished.

What I was thinking about is to have a series of extras section
with for example some of the problems and solutions you encountered.

������
������ How to handle loop within your domain?
������
������ How to find an object by id?

...

The original file is here:

https://github.com/SquareBracketAssociates/EnterprisePharo/tree/master/Voyage������

I created a VoyageAdditionalText.pier that you can edit.

And this is easy
������ - you can go to the page
������ - fork the folder
������ - edit in the web the file and send a pull request.

if this is not working, we will add you to the project and you can directly edit this file.

Regards
Sabine



2015-08-13 16:17 GMT+02:00 stepharo <stepharo@free.fr>:

Hi Stephane,

sure, I am happy to give something back to the community. I dont have so much time because of my baby but I will try my best.��

Where shall I put it in?

You can do pull requests in the paper. This way they will be close to the original version.


Sabina

you know what I would really love from you ....
this is that you reread the Voyage chapter and make a list of the problems you faced and that are not described in the chapter.
You can write it in any bad ways and we can do a edit phase after,

Why do I ask that? Because I'm stupid in Mongo and I would love to have a good doc.
And only the people facing the problems can spot them nicely.
I often write doc on things that I do not know but this is not working well because I'm slow in that case and .... I could be much better
doing something else where I'm good at.

Stef

Le 12/8/15 09:40, Sabine Manaa 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
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.