robbiblubber.org
help
|
login
|
search
:
<<
Home Page
Index
Projects
Utility Suite
Data Suite
Bad Wolf Suite
WeakWiki
User Docs
ConfigNotepad
LED
rqoon
Nuub
Code Docs
.NET
Java
PHP
robbiblubber.org
Specs
Articles
Sources
read
source
history
index()
MongoDB Driver Function Reference
Creates an index on the collection.
<collection>.index(<name>, <field>[, ...])
Arguments
<collection>
The target collection.
<name>
Index name
<field>
Index field name.
Example
db.employees.index("salary_ix", "salary");
Creates an index for the
salary
key on the
employees
collection.
home
|
MongoDB Driver Function Reference
|
MongoDB Driver