let Finder::page() takes a page number and not an offset

This commit is contained in:
2022-08-04 14:54:04 +02:00
parent c54a5bed05
commit bc92654be9
4 changed files with 8 additions and 3 deletions

View File

@@ -64,6 +64,9 @@ public:
virtual DbExpression & group_and(pt::TextStream & stream);
virtual DbExpression & group_end(pt::TextStream & stream);
/*
* page_number starts from zero (it's a number of a page, not an offset)
*/
virtual DbExpression & page(pt::TextStream & stream, size_t page_number, size_t page_size);
template<typename FieldValue>