TylerBrock

Results 63 comments of TylerBrock

Yeah, that sounds like a good idea.

We might be able to do this with something like require.js

Yeah, the problem is that `load()` is relative to where you run the shell so unless you specify the full path it won't work. I think there will be a...

This is going to get much easier in 2.6 now that there is a global mongorc.js

Hey @Boomtime, thanks for filing the issue. Unless specifying a sort i don't think you would want the database to use an index to get the first document as the...

I think that is the desired behavior. What index would we choose? I think using no index is the appropriate choice. It would be slower to load the first document...

You have a good point. In my head I was only considering the empty selector case. Sorry you are totally correct.

That is awesome. I am going to take a look.

@crudson is there a strong use case for this? Do you use it when swtiching constantly switching context between databases?

@crudson, i think that is fairly common. Maybe not 40-50 but 10+ certainly. I'm going to include this when i do modularization probably sometime this week.