Getting Started with Voyage: Storing Objects in MongoDB

A Hands-On Guide to Object-Document Mapping This chapter provides a step-by-step walkthrough of Voyage, an object-to-document mapper for MongoDB. We'll explore a straightforward domain model: superheroes, their abilities, and equipment. You'll discover how to persist and retrieve domain objects with ease. Establishing Database Connectivity Afte ...

Posted on Sun, 06 Sep 2026 16:43:36 +0000 by loftystew

Voyage Data Persistence Techniques and Operations

Querying Objects by ID When you know an object's _id value, you can instantiate it as an OID and use it in a query. Person selectOne: {('_id' -> (OID fromValue: 16r55CDD2B6E9A87A520F000001))} asDictionary. These two forms of OID creation are equivalent: OID fromValue: 26555050698940995562836590593. "Decimal representation" OID fro ...

Posted on Wed, 20 May 2026 17:26:50 +0000 by Kazlaaz