fixed query limit offset order
This commit is contained in:
+2
-2
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user