Skip to content

Conversation

@Lucarun
Copy link
Contributor

@Lucarun Lucarun commented Apr 22, 2023

"select * from blogpost limit 5 offset 10" means querying 5 rows of data starting from row 10 in the sqlite. It doesn't align with the actual meaning of this pagination query API - "/api/blog/posts". (page and per_page). Please correct me if I am wrong. Thx!

"select * from blogpost limit 5 offset 10" means querying 5 rows of data starting from row 10 in the sqlite. It doesn't align with the actual meaning of this pagination query API - "/api/blog/posts". (page and per_page). Please correct me if I am wrong. Thx!
@marina-p
Copy link
Contributor

You are correct. I'm going to check the previous implementation of demo_server before merging it to see if this was supposed to be a planted bug, or if I introduced this bug unintentionally while porting it.

@Yanqiulei
Copy link

How can I resolve the following error when using Restler for testing functionality?
2024-01-24 16:39:01.091: Connection error: 'Exception: [Errno 104] Connection reset by peer'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants