catherine0422 / MovieDatabase

Porject of the database management course
0 stars 0 forks source link

Use pagination for the query #13

Closed catherine0422 closed 3 years ago

catherine0422 commented 3 years ago

Query all items at once seems to slow. Try to use the pagination and limit: for each query, we add two paramters: limit(number of items in one page) and page number. These two parameters are not mandatory, the default values will be limit = 20, page number= 1.

catherine0422 commented 3 years ago

index

14