I am trying to append a requirement to my BCON query where 'tribe_type' does not equal 'initial-public'.
My original code was and that worked:
query = BCON_NEW ("_id", BCON_OID(&oid));
When I add the second part, it compiles, however the mongo match fails.
query = BCON_NEW ("_id", BCON_OID(&oid),
"{",
"tribe_type",
"$ne",
"initial-public",
"}"
);