We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5107f38 commit 225a860Copy full SHA for 225a860
1 file changed
tests/mysql/test_offset.cpp
@@ -42,7 +42,7 @@ TEST(mysql, test_offset) {
42
sqlgen::write(conn, people1).value();
43
44
const auto query =
45
- sqlgen::read<std::vector<Person>> | order_by("id"_c) | offset(3);
+ sqlgen::read<std::vector<Person>> | order_by("id"_c) | limit(-1) | offset(3);
46
47
const auto people2 = query(conn).value();
48
0 commit comments