userver: ydb::QuerySettings Struct Reference
Loading...
Searching...
No Matches
ydb::QuerySettings Struct Referencefinal

#include <userver/ydb/settings.hpp>

Detailed Description

Settings for a single query execution.

Definition at line 46 of file settings.hpp.

Public Attributes

std::optional< bool > keep_in_query_cache {std::nullopt}
 
std::optional< NYdb::NTable::ECollectQueryStatsMode > collect_query_stats {std::nullopt}
 Stats collection mode for query execution.
 

Member Data Documentation

◆ collect_query_stats

std::optional<NYdb::NTable::ECollectQueryStatsMode> ydb::QuerySettings::collect_query_stats {std::nullopt}

Stats collection mode for query execution.

Definition at line 52 of file settings.hpp.

◆ keep_in_query_cache

std::optional<bool> ydb::QuerySettings::keep_in_query_cache {std::nullopt}

Whether to keep the query in a server-side query cache.

Deprecated
Ignored. Execute uses Query API, which caches queries automatically.

Definition at line 49 of file settings.hpp.


The documentation for this struct was generated from the following file: