Search found 5 matches

Go to advanced search

by David Westbrook
Mon Jan 20, 2014 3:34 pm
Forum: Issues
Topic: Collection indexes
Replies: 16
Views: 4621
 
Jump to post

Collection indexes

That isn't efficient since the Collection is being accessed twice instead of once. It's also not 100% effective. Between the time of reading and adding, a record could be added with the same key.

by David Westbrook
Sun Jan 19, 2014 6:23 pm
Forum: Issues
Topic: Collection indexes
Replies: 16
Views: 4621
 
Jump to post

Collection indexes

All that Appery.io has appeared to support is Non-Unique Single Field indexes. How about Compound Indexes, and specifying Unique?
http://docs.mongodb.org/manual/core/i...
http://docs.mongodb.org/manual/core/i...

by David Westbrook
Sat Sep 28, 2013 10:29 pm
Forum: Issues
Topic: Collection indexes
Replies: 16
Views: 4621
 
Jump to post

Collection indexes

MongoDB supports indexes - http://docs.mongodb.org/manual/indexes/. It would be nice if the Collections Maintenance UI allowed indexes to be defined and maintained.

by David Westbrook
Sat Sep 28, 2013 9:09 pm
Forum: Issues
Topic: Collection indexes
Replies: 16
Views: 4621
 
Jump to post

Collection indexes

If I create an e-mail address column, and I want the column to be unique, how do I specify that?

Can I specify the value of the _id column, instead of using the value that is automatically generated?

by David Westbrook
Sat Sep 28, 2013 8:27 pm
Forum: Issues
Topic: Collection indexes
Replies: 16
Views: 4621
 
Jump to post

Collection indexes

How do I create a unique index on a Collection to prevent duplicates, and a non unique index on a Collection to improve search performance?

Go to advanced search