diff --git a/src/StoreHelpers.ts b/src/StoreHelpers.ts index 4a52c68..de54313 100644 --- a/src/StoreHelpers.ts +++ b/src/StoreHelpers.ts @@ -79,8 +79,8 @@ export class SimpleTransactionStoreHelper { - let promise = this._store.openPrimaryKey().getAll() as SyncTasks.Promise; + getAll(sortOrder?: NoSqlProvider.QuerySortOrder): SyncTasks.Promise { + let promise = this._store.openPrimaryKey().getAll(sortOrder) as SyncTasks.Promise; return ErrorCatcher ? promise.catch(ErrorCatcher) : promise; }