The bounds a server applies to every TableQuery, an untrusted body.
More...
#include <query.hpp>
|
| std::int64_t | maxLimit = 1000 |
| | page.limit above this is clamped to it.
|
| std::int64_t | maxOffset = 10'000'000 |
| | page.offset above this is refused.
|
| std::size_t | maxSortKeys = 8 |
| | Sort keys.
|
| std::size_t | maxFilterColumns = 32 |
| | Filtered columns.
|
| std::size_t | maxEntries = 32 |
| | include plus exclude entries of one column or group.
|
| std::size_t | maxGroups = 8 |
| | Groups.
|
| std::size_t | maxGroupColumns = 16 |
| | Columns of one group.
|
| std::size_t | maxTextLength = 256 |
| | Bytes of one filter value.
|
| std::int64_t | totalCap = 100'000 |
| | A total above this is not reported.
|
The bounds a server applies to every TableQuery, an untrusted body.
Definition at line 94 of file query.hpp.
◆ maxLimit
| std::int64_t morph::table::QueryLimits::maxLimit = 1000 |
page.limit above this is clamped to it.
Definition at line 96 of file query.hpp.
◆ maxOffset
| std::int64_t morph::table::QueryLimits::maxOffset = 10'000'000 |
page.offset above this is refused.
Definition at line 98 of file query.hpp.
◆ maxSortKeys
| std::size_t morph::table::QueryLimits::maxSortKeys = 8 |
◆ maxFilterColumns
| std::size_t morph::table::QueryLimits::maxFilterColumns = 32 |
◆ maxEntries
| std::size_t morph::table::QueryLimits::maxEntries = 32 |
include plus exclude entries of one column or group.
Definition at line 104 of file query.hpp.
◆ maxGroups
| std::size_t morph::table::QueryLimits::maxGroups = 8 |
◆ maxGroupColumns
| std::size_t morph::table::QueryLimits::maxGroupColumns = 16 |
Columns of one group.
Definition at line 108 of file query.hpp.
◆ maxTextLength
| std::size_t morph::table::QueryLimits::maxTextLength = 256 |
Bytes of one filter value.
Definition at line 110 of file query.hpp.
◆ totalCap
| std::int64_t morph::table::QueryLimits::totalCap = 100'000 |
A total above this is not reported.
Definition at line 112 of file query.hpp.
The documentation for this struct was generated from the following file: