Mongo.CreateIndexesResult (Mongodb v1.0.1) View Source
The successful result struct of Mongo.create_indexes/4
.
Its fields are:
:commit_quorum
- Quorum voting behaviour. See https://docs.mongodb.com/manual/reference/command/createIndexes/#std-label-createIndexes-cmd-commitQuorum:created_collection_automatically
-true
when the collection was implicitly created as part of the index creation command,false
otherwise:num_indexes_after
- Number of indexes after the index creation command took place:num_indexes_before
- Number of indexes before the index creation command took place
Link to this section Summary
Link to this section Types
Specs
t() :: %Mongo.CreateIndexesResult{ commit_quorum: non_neg_integer() | binary(), created_collection_automatically: boolean(), num_indexes_after: non_neg_integer(), num_indexes_before: non_neg_integer() }