morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::OptimisticDecl Struct Reference

An optimistic write: the row a mutation run predicts before its reply. More...

#include <document.hpp>

Public Attributes

std::string query
 The query whose cached list it writes.
std::string at
 The member of the query's record value that holds the list; empty when the value is the list itself.
ExprPtr key
 The row key to write, read against the run's body bound as body.
ExprPtr with
 The predicted row, read against the run's body bound as body.

Detailed Description

An optimistic write: the row a mutation run predicts before its reply.

Definition at line 225 of file document.hpp.

Member Data Documentation

◆ query

std::string morph::ui::OptimisticDecl::query

The query whose cached list it writes.

Definition at line 227 of file document.hpp.

◆ at

std::string morph::ui::OptimisticDecl::at

The member of the query's record value that holds the list; empty when the value is the list itself.

Definition at line 229 of file document.hpp.

◆ key

ExprPtr morph::ui::OptimisticDecl::key

The row key to write, read against the run's body bound as body.

Definition at line 231 of file document.hpp.

◆ with

ExprPtr morph::ui::OptimisticDecl::with

The predicted row, read against the run's body bound as body.

Definition at line 233 of file document.hpp.


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