Skip to content

Commit c80e892

Browse files
committed
Update getAll in StoreHelpers
1 parent 5433bcb commit c80e892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/StoreHelpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ export class SimpleTransactionStoreHelper<StoreName extends string, ObjectType e
7979
return ErrorCatcher ? promise.catch(ErrorCatcher) : promise;
8080
}
8181

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

0 commit comments

Comments
 (0)