mongoc_index_opt_t

Synopsis

#include <mongoc.h>

typedef struct
{
   bool          is_initialized;
   bool          background;
   bool          unique;
   const char   *name;
   bool          drop_dups;
   bool          sparse;
   int32_t       expire_after_seconds;
   int32_t       v;
   const bson_t *weights;
   const char   *default_language;
   const char   *language_override;
   void         *padding [8];
} mongoc_index_opt_t;

Description

This structure contains the options that may be used for tuning a specific index.