Loading...
Searching...
No Matches
Related Pages
Here is a list of all related documentation pages:

Tutorial | These 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 objects | In this section, we'll cover the basics of working with BSON objects in a few big steps
Building BSON objects | Our first task will be to build a BSON document, which we can later insert into MongoDB
Traversing BSON objects | Now 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 API | In this section we'll be going over various parts of the synchronous API provided by libmongo-client
Connecting to MongoDB | The next step in our journey is to connect to MongoDB: to a single server and to a replicaset alike
Inserting documents into MongoDB | Now that we know how to connect, it is time to take another step forward, and put something into our database
Querying documents | We 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 two | We 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 collections | In this simple example we'll learn how to explicitly create collections with the library, be those normal collections, capped ones or simply preallocated
Creating indexes | This 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 commands | Sometimes 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 application | As the next step of our tutorial, we will write a full blown application
JSON to BSON converter | Now that we have a basic grasp of the library, we'll write a solution to a real life problem: converting JSON to BSON