Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- collection.ensureIndex({ loc : "2d" }, { min : -10000 , max : 10000,
- bits : 32, unique:true}
- collection.ensureIndex( { username : 1, password : 1, roles : 1} );
- collection.ensureIndex({ loc : "2d", field2 : 1 },
- { min : -10000 , max : 10000 , bits : 32, unique:true}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement