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

A table's sort, filters and page, as a list action's body carries them. More...

#include <query.hpp>

Static Public Member Functions

static constexpr std::string_view schemaMarker () noexcept
 The schema keyword that marks a member of this type.

Public Attributes

std::vector< SortKey > sort
 The sort chain.
FilterSpec filters
 The filter.
PageRequest page
 The page.

Detailed Description

A table's sort, filters and page, as a list action's body carries them.

The member that holds one is marked x-table in the action's schema, which is how a client knows to send the table's state in it.

Definition at line 67 of file query.hpp.

Member Function Documentation

◆ schemaMarker()

constexpr std::string_view morph::table::TableQuery::schemaMarker ( )
inlinestaticnodiscardconstexprnoexcept

The schema keyword that marks a member of this type.

Returns
"x-table".

Definition at line 77 of file query.hpp.

Member Data Documentation

◆ sort

std::vector<SortKey> morph::table::TableQuery::sort

The sort chain.

Definition at line 69 of file query.hpp.

◆ filters

FilterSpec morph::table::TableQuery::filters

The filter.

Definition at line 71 of file query.hpp.

◆ page

PageRequest morph::table::TableQuery::page

The page.

Definition at line 73 of file query.hpp.


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