Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Author

       MongoDB, Inc

Description

       The  bson_iter_find_descendant()  function  shall  follow  standard  MongoDB dot notation to recurse into
       subdocuments. descendant will be initialized and advanced to the descendant. If false is  returned,  both
       iter and descendant should be considered invalid.

Parameters

       • iter: A bson_iter_t.

       • dotkey: A dot-notation key like "a.b.c.d".

       • descendant: A bson_iter_t.

Returns

       true  is  returned  if  the requested key was found. If not, false is returned and iter was exhausted and
       should now be considered invalid.

Synopsis

          bool
          bson_iter_find_descendant (bson_iter_t *iter,
                                     const char *dotkey,
                                     bson_iter_t *descendant);

See Also