diff --git a/src/remote/api-client.ts b/src/remote/api-client.ts index a52ea3e..66d8aa8 100644 --- a/src/remote/api-client.ts +++ b/src/remote/api-client.ts @@ -165,6 +165,10 @@ export class ApiClient extends RpcTarget implements ClientApi { await this.remote.applyStatistics(Statistics.statsModeFromExport(stats)); } + async resetStats(): Promise { + await this.remote.applyStatistics(Statistics.defaultStatsMode); + } + async hideIndex(indexName: string): Promise { this.remote.optimizer.toggleIndex(PgIdentifier.fromString(indexName)); }