robbiblubber.org

help | login | search:  
>>

read  source  history 


= unhideIndex() =
----
[[MongoDB Driver Function Reference]]


Unhides an index from the query planner.
More information can be found in the corresponding entry of the [[https://docs.mongodb.com/manual/reference/method/db.collection.hideIndex/index.html|MongoDB Manual]].


[[[@cG

<collection>.unhideIndex(<name>)

]]]


**Arguments**

[[[@w

|@t0@r0@c0 <collection> | | The target collection. |
| <name> | | Index name |

]]]



**Example**

[[[@cw

db.employees.unhideIndex("salary_ix");

]]]

Unhides the //salary_ix// index.











----
[[Main|home]] | [[MongoDB Driver Function Reference]] | [[MongoDB Driver]]