robbiblubber.org

help | login | search:  
>>

read  source  history 


hideIndex()


MongoDB Driver Function Reference


Hides an index from the query planner.
More information can be found in the corresponding entry of the MongoDB Manual.



<collection>.hideIndex(<name>)



Arguments


<collection> The target collection.
<name> Index name




Example


db.employees.hideIndex("salary_ix");


Hides the salary_ix index.












home | MongoDB Driver Function Reference | MongoDB Driver