Am 01.02.2017 um 16:11 schrieb sergio ruiz <sergio.rrd@gmail.com>:

hmmm.. can you query for an object with that voyageId?

Sure. I don't know if there is a more clever way to do but this will work in any case

MyClass selectOne: {
'_id' -> (OID value: 16r<hex value>) } asDictionary

Norbert


On February 1, 2017 at 9:37:43 AM, Norbert Hartl (norbert@hartl.name) wrote:

You can ask every voyage object for its id. Just do 

anObject voyageId

you get an OID object which you can ask for its #value to get the numeric id.

Norbert