How to insert document with empty key using Mongo C driver? – Debian
I have this program in C (a slight variation of the hello world example at Mongo C driver documentation: #include <bson/bson.h> #include <mongoc/mongoc.h> #include <stdio.h> // file insert.c // compiled with: gcc -o insert insert.c $(pkg-config --libs --cflags libmongoc-1.0) int…