Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::Query< T, Q > Struct Template Reference

Owning domain criteria, exact indexed source, and explicit output page. This value performs no I/O. Q and its reachable data must be immutable while shared, own all worker-visible storage, and support destruction on the last owner's thread. More...

#include <model_query.hpp>

Public Attributes

std::shared_ptr< const ModelSnapshot< T > > source
 Exact immutable source pin retained by the work token.
Q criteria
 Owning domain value interpreted by the provider.
RowRange page {0, 256}
 Page within the filtered/sorted result; default first 256 rows.

Detailed Description

template<class T, class Q>
struct portals::Query< T, Q >

Owning domain criteria, exact indexed source, and explicit output page. This value performs no I/O. Q and its reachable data must be immutable while shared, own all worker-visible storage, and support destruction on the last owner's thread.

Template Parameters
TImmutable domain row type satisfying ModelSnapshot<T>'s ownership contract.
QOwning domain criteria type; no library-defined query language is required.

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