globalsign / mgo

The MongoDB driver for Go
Other
1.97k stars 230 forks source link

Add EnsureIndexes to allow batch creation of indexes #311

Closed fuzzypete closed 5 years ago

fuzzypete commented 5 years ago

This is a request for the code supporting #310 to be pulled

domodwyer commented 5 years ago

Hi @fuzzypete

Really appreciate the PR and the time taken so thanks!

The diff includes some previously merged/unrelated commits though - perhaps the PR branch needs rebasing?

Dom

fuzzypete commented 5 years ago

I created a branch from the last release tag (r2018.06.15) .. When i first created the pull request, i targeted master and diffs shown were all my changes only... however, i noticed that the Contrib guidelines asked to target the development branch instead... when I did that, i saw these extra commits... what should the PR branch be based from?

thanks! Peter

fuzzypete commented 5 years ago

moved commit to development branch... closing this request