thejsj / rethinkdb-init

Create all RethinkDB databases, tables and indexes automatically through a schema object.
https://www.npmjs.com/package/rethinkdb-init
53 stars 15 forks source link

Call `indexWait` once per table #11

Closed marshall007 closed 8 years ago

marshall007 commented 8 years ago

From my last PR (#10), there was no reason to be calling .indexWait() for every secondary index. It didn't necessarily have any consequences, just a little cleaner this way.

thejsj commented 8 years ago

LGTM