You can ask every voyage object for its id. Just doAm 01.02.2017 um 15:25 schrieb sergio ruiz <sergio.rrd@gmail.com>:Hi, all..I am working on a Teapot REST interface, and am getting ready to implement the create, read, and update methods for the objects, and I need a way to refer to the objects. I figured that since Voyage was already creating _id through MongoDB, I could just pass that on when I retrieved that object, but I don���t see how to do that.Is this possible? Would I need to create my own numerical indexes to my objects and just retrieve them as part of the object query?
Thanks!----
peace,
sergio
photographer, journalist, visionaryPublic Key: http://bit.ly/29z9fG0
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101