qswiki/database/queryoption.h

20 lines
265 B
C
Raw Normal View History

2018-11-03 17:12:20 +01:00
#ifndef QUERYOPTION_H
#define QUERYOPTION_H
enum SORT_ORDER
{
ASCENDING = 0,
DESCENDING
};
class QueryOption
{
public:
unsigned int offset = 0;
unsigned int limit = 0;
SORT_ORDER order = ASCENDING;
2024-03-16 22:03:22 +01:00
bool includeUnlisted = true;
2018-11-03 17:12:20 +01:00
};
#endif // QUERYOPTION_H