libmongo-client  0.1.8
 All Data Structures Functions Variables Enumerations Enumerator Groups Pages
Related Pages
Here is a list of all related documentation pages:
[detail level 123]
 TutorialThese pages will attempt to guide one through the libmongo-client library, starting from the basic BSON building blocks, through the low level wire protocol API, until the highest level synchronous API
 Working with BSON objectsIn this section, we'll cover the basics of working with BSON objects in a few big steps
 Building BSON objectsOur first task will be to build a BSON document, which we can later insert into MongoDB
 Traversing BSON objectsNow that we can build BSON objects (see the previous section), it is time that we learn how to find things in them!
 Working with the Mongo Sync APIIn this section we'll be going over various parts of the synchronous API provided by libmongo-client
 Connecting to MongoDBThe next step in our journey is to connect to MongoDB: to a single server and to a replicaset alike
 Inserting documents into MongoDBNow that we know how to connect, it is time to take another step forward, and put something into our database
 Querying documentsWe can connect, insert, and we still vaguely remember how to build BSON objects: how about we go out and query the database this time?
 Querying documents, part twoWe learned how to make simple queries in the previous section, we'll be brave and do something much more advanced this time: we'll limit the query to documents that have their "yes?" field set to FALSE, and sort the results by the "n" field, in ascending order
 Creating collectionsIn this simple example we'll learn how to explicitly create collections with the library, be those normal collections, capped ones or simply preallocated
 Creating indexesThis example will show how to properly create indexes, how to verify its success, and will also give hints on how to prepare the BSON used to create the index
 Running custom commandsSometimes it is necessary to run custom commands against a database, commands for which the library does not provide a convenience wrapper for
 A full-blown applicationAs the next step of our tutorial, we will write a full blown application
 JSON to BSON converterNow that we have a basic grasp of the library, we'll write a solution to a real life problem: converting JSON to BSON