fixed query limit offset order

This commit is contained in:
2024-02-25 19:04:04 +01:00
parent 6f5326941e
commit b1f2d94c7a
3 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -141,8 +141,8 @@ int main()
.where(qh::books.published_in < 2008 && qh::authors.last_name == "King")
.group_by(qh::books.published_in)
.order_by(qh::books.title).asc()
// .offset(2)
// .limit(5)
.limit(5)
.offset(2)
// .str();
.fetch_all();
// .fetch_all<book>();