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

Which rows of the view a request wants. More...

#include <query.hpp>

Public Member Functions

bool operator== (PageRequest const &other) const =default
 Member-wise equality.

Public Attributes

std::int64_t offset = 0
 First view row.
std::int64_t limit = 200
 Rows wanted.

Detailed Description

Which rows of the view a request wants.

Definition at line 51 of file query.hpp.

Member Function Documentation

◆ operator==()

bool morph::table::PageRequest::operator== ( PageRequest const & other) const
nodiscarddefault

Member-wise equality.

Parameters
otherThe request to compare with.
Returns
true when offset and limit match.

Member Data Documentation

◆ offset

std::int64_t morph::table::PageRequest::offset = 0

First view row.

Definition at line 53 of file query.hpp.

◆ limit

std::int64_t morph::table::PageRequest::limit = 200

Rows wanted.

Definition at line 55 of file query.hpp.


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