Add getAll to indexes
Sync promises supports chaining