Viam C++ SDK current
Loading...
Searching...
No Matches
Public Attributes | List of all members
viam::sdk::DataConsumer::query_options Struct Reference

Public Attributes

std::chrono::milliseconds time_back
 How far back should the data be included.
 
std::vector< DataClient::BSONBytes > additional_stages
 Any additional query stages to be included after the default query.
 

Member Data Documentation

◆ time_back

std::chrono::milliseconds viam::sdk::DataConsumer::query_options::time_back

How far back should the data be included.

Remarks
This field is stored as milliseconds, but can be constructed with other durations. For example query_options opts{std::chrono::hours{5}};

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