Skip to content

Commit

Permalink
Update getAll in StoreHelpers
Browse files Browse the repository at this point in the history
  • Loading branch information
berickson1 committed Oct 15, 2018
1 parent 5433bcb commit c80e892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StoreHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export class SimpleTransactionStoreHelper<StoreName extends string, ObjectType e
return ErrorCatcher ? promise.catch(ErrorCatcher) : promise;
}

getAll(): SyncTasks.Promise<ObjectType[]> {
let promise = this._store.openPrimaryKey().getAll() as SyncTasks.Promise<ObjectType[]>;
getAll(sortOrder?: NoSqlProvider.QuerySortOrder): SyncTasks.Promise<ObjectType[]> {
let promise = this._store.openPrimaryKey().getAll(sortOrder) as SyncTasks.Promise<ObjectType[]>;
return ErrorCatcher ? promise.catch(ErrorCatcher) : promise;
}

Expand Down

0 comments on commit c80e892

Please sign in to comment.