Eve: Building RESTful APIs with MongoDB and Flask Transcripts
Chapter: What is Eve?
Lecture: Exploring Eve: Pagination
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
And what about pagination? Well, at this point, you probably have an idea of what you can do, you can use the page keyword here
0:09
and ask for page 2 for example, so all the people, second page. Of course, since we only have 7 documents total,
0:18
and we don't have any document on page 2 because we have 25 documents per page, so they are all going to be on page 1, if we go to page 3, same result,
0:29
if we go on page 1, we get all of them. Again, pagination can be disabled, we will see how, it will also improve performance,
0:37
if you turn it off, but we will talk about that in one of the next segments. Alright, our tour is over, hopefully you got a general idea
0:45
of what you can achieve with an Eve powered API. There are of course many more basic and advanced features
0:52
and we will learn more about them in the next segments when we start building our very own service.