CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 31 Jul 2025 11:04:38 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100125185444
location: https://web.archive.org/web/20100125185444/https://github.com/mongodb/mongo-c-driver
server-timing: captures_list;dur=0.501968, exclusion.robots;dur=0.018030, exclusion.robots.policy;dur=0.008332, esindex;dur=0.010984, cdx.remote;dur=15.112659, LoadShardBlock;dur=288.997363, PetaboxLoader3.datanode;dur=142.826030, PetaboxLoader3.resolve;dur=64.810677
x-app-server: wwwb-app214
x-ts: 302
x-tr: 339
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app214; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 31 Jul 2025 11:04:39 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Mon, 25 Jan 2010 18:54:44 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "98262460379428ad9625226962ed2b29"
x-archive-orig-x-runtime: 89ms
x-archive-orig-content-length: 22653
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 25 Jan 2010 18:54:44 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 25 Jan 2010 18:54:44 GMT", ; rel="memento"; datetime="Mon, 25 Jan 2010 18:54:44 GMT", ; rel="next memento"; datetime="Sun, 31 Jan 2010 10:09:00 GMT", ; rel="last memento"; datetime="Tue, 17 Jun 2025 21:05:03 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20100125181948_crawl102-c/51_13_20100125185441_crawl101.arc.gz
server-timing: captures_list;dur=0.470996, exclusion.robots;dur=0.017326, exclusion.robots.policy;dur=0.008164, esindex;dur=0.010196, cdx.remote;dur=26.021730, LoadShardBlock;dur=307.748767, PetaboxLoader3.datanode;dur=181.402985, PetaboxLoader3.resolve;dur=255.973099, load_resource;dur=267.666802
x-app-server: wwwb-app214
x-ts: 200
x-tr: 655
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
mongodb's mongo-c-driver at master - GitHub
This service is courtesy of Pledgie.
mongodb / mongo-c-driver
- Source
- Commits
- Network (3)
- Graphs
-
Branch:
master
-
Branches (1)
- master ✓
- Tags (1)
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Simple C Driver for MongoDB — Read more
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Tue Nov 17 20:43:54 -0800 2009 | Start of benchmark script [RedBeard0531] |
![]() |
README | Mon Dec 21 14:14:18 -0800 2009 | Replica Pair support CDRIVER-4 [RedBeard0531] |
![]() |
SConstruct | Mon Dec 21 14:14:18 -0800 2009 | Replica Pair support CDRIVER-4 [RedBeard0531] |
![]() |
src/ | Mon Dec 21 14:14:18 -0800 2009 | Replica Pair support CDRIVER-4 [RedBeard0531] |
![]() |
test/ | Mon Dec 21 14:14:18 -0800 2009 | Replica Pair support CDRIVER-4 [RedBeard0531] |
README
This is a very basic MongoDB c driver. This is an alpha release, please email mathias@10gen.com if you run into issues or have API suggestions. The goal is to be super strict for ultimate portability, no dependencies, and very embeddable anywhere. You will need JSON-C (https://oss.metaparadigm.com/json-c/) to compile the unit tests, but it is not required for the main libraries. Building with scons: scons # this will produce libbson.a and libmongoc.a scons --c99 # this will use c99 mode in gcc (recommended) scons test # this will compile and run the unit tests (optional) scons test --test-server=123.4.5.67 # use remote server for tests Building with gcc: gcc --std=c99 -Isrc src/*.c YOUR_APP.c # No -Ddefines are needed in c99 mode on little endien Building with MSVC: TODO #define options (you must use the same flags to compile all apps and libs): MONGO_BIG_ENDIAN This must be defined if on a big endian architecture one of these (defaults to unsigned char if neither is defined) MONGO_HAVE_BOOL Define this if your compiler has a plain 'bool' type MONGO_HAVE_STDBOOL Define this if you must include <stdbool.h> to get 'bool' one of these (required if not using c99): MONGO_HAVE_STDINT Define this if you have <stdint.h> for int64_t MONGO_HAVE_UNISTD Define this if you have <unistd.h> for int64_t MONGO_USE__INT64 Define this if '__int64' is your compiler's 64bit type (MSVC) MONGO_USE_LONG_LONG_INT Define this if 'long long int' is your compiler's 64bit type Error Handling: I'm using an exception system based on cexcept. If you would like to gracefully handle errors, take a look at src/mongo_except.h. It is currently only used for network failures, but more errors will be used in the future. TODO: building on windows more documentation checking for $err in query results query helper for sort and hint explain and profiler helpers GridFS safe-mode modifications (maybe) cached ensure_index (maybe)