|
| 1 | +:template: product-landing |
| 2 | +:pl-max-width-paragraphs: |
| 3 | +:noprevnext: |
| 4 | + |
| 5 | +============== |
| 6 | +MongoDB with C |
| 7 | +============== |
| 8 | + |
| 9 | +.. default-domain:: mongodb |
| 10 | + |
| 11 | +.. introduction:: |
| 12 | + |
| 13 | + Build performant applications in MongoDB’s :atlas:`Atlas cloud database </>` |
| 14 | + with the support of MongoDB’s C driver. |
| 15 | + |
| 16 | + .. button:: Get started with the MongoDB C Driver |
| 17 | + :uri: https://www.mongodb.com/docs/languages/c/c-driver/current/ |
| 18 | + |
| 19 | +.. image:: /languages/images/c.svg |
| 20 | + :alt: C landing page hero image |
| 21 | + |
| 22 | +Drivers |
| 23 | +------- |
| 24 | + |
| 25 | +The MongoDB C Driver consists of two libraries, ``libbson`` and |
| 26 | +``libmongoc``. The ``libbson`` library supports working with BSON |
| 27 | +documents, and the ``libmongoc`` library comprises the driver, which |
| 28 | +connects your C application to MongoDB. |
| 29 | + |
| 30 | +.. card-group:: |
| 31 | + :columns: 2 |
| 32 | + |
| 33 | + .. card:: |
| 34 | + :headline: libbson |
| 35 | + :url: https://www.mongodb.com/docs/languages/c/c-driver/current/libbson/ |
| 36 | + :icon: /images/icons/c.svg |
| 37 | + :icon-alt: Driver card icon |
| 38 | + |
| 39 | + Provides an API to support building, parsing, and converting BSON |
| 40 | + documents, the native data format of MongoDB. |
| 41 | + |
| 42 | + .. card:: |
| 43 | + :headline: libmongoc |
| 44 | + :url: https://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/ |
| 45 | + :icon: /images/icons/c.svg |
| 46 | + :icon-alt: Driver card icon |
| 47 | + |
| 48 | + Provides an API for working with MongoDB databases consistent with other MongoDB language drivers. |
| 49 | + |
| 50 | +More ways to learn |
| 51 | +------------------ |
| 52 | + |
| 53 | +.. card-group:: |
| 54 | + :columns: 3 |
| 55 | + :style: large-icon |
| 56 | + |
| 57 | + .. card:: |
| 58 | + :headline: View C developer resources |
| 59 | + :url: https://www.mongodb.com/developer/languages/c/ |
| 60 | + :icon: /images/technical-mdb-devhub.svg |
| 61 | + :icon-alt: DevHub icon |
| 62 | + |
| 63 | + C Resources → |
| 64 | + |
| 65 | + .. card:: |
| 66 | + :headline: Take the Getting Started with C course |
| 67 | + :url: https://learn.mongodb.com/courses/getting-started-with-the-mongodb-c-driver-libmongoc |
| 68 | + :icon: /images/icons/university.svg |
| 69 | + :icon-alt: Learn icon |
| 70 | + |
| 71 | + Getting Started with the C Driver Course → |
| 72 | + |
| 73 | + .. card:: |
| 74 | + :headline: Join forums and discussions |
| 75 | + :url: https://www.mongodb.com/community/ |
| 76 | + :icon: /images/general-content-community.svg |
| 77 | + :icon-alt: Community icon |
| 78 | + |
| 79 | + MongoDB Community → |
0 commit comments