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?
0:03
Well, at this point, you probably have an idea of what you can do,
0:06
you can use the page keyword here
0:08
and ask for page 2 for example,
0:10
so all the people, second page.
0:13
Of course, since we only have 7 documents total,
0:17
and we don't have any document on page 2
0:21
because we have 25 documents per page,
0:23
so they are all going to be on page 1,
0:26
if we go to page 3, same result,
0:28
if we go on page 1, we get all of them.
0:31
Again, pagination can be disabled,
0:33
we will see how, it will also improve performance,
0:36
if you turn it off, but we will talk about that
0:39
in one of the next segments.
0:41
Alright, our tour is over, hopefully you got a general idea
0:44
of what you can achieve with an Eve powered API.
0:47
There are of course many more basic and advanced features
0:51
and we will learn more about them in the next segments
0:55
when we start building our very own service.