Here's the link to the source code: github.com/jrdeveloper124/pagination
@uriyyo Жыл бұрын
Hi, I am an author of fastapi-pagination library and I love your tutorial. Keep going!
@jr.developer Жыл бұрын
Thank you so much for commenting and creating such a great library 🙂
@pleabargain Жыл бұрын
Worked through the whole tutorial. Thank you. Now, to the REACT part. Will you consider doing a follow up video on how to view the content of the API and allow the user to save and or edit the API content? e.g. Store the 'likes' or 'comments' on an API call.
@jr.developer Жыл бұрын
That's a great suggestion!!. I've made a video to display the users in React already. Please, check that out if you haven't. I will make a video on the editing and saving part this week. Thank you so much.
@nikilkvn Жыл бұрын
woww man.. you are simply good.. :) keep going..
@ahmedzahid8354 Жыл бұрын
Thanks for this video.
@dannisisgt10 ай бұрын
Thanks Amigo, very well explained. What if data has 10k+ records every query load all data and split it?
@jr.developer9 ай бұрын
You could write your own paginate function with custom logic. In that you would need to handle logic to get total row count and calculate the offset and limit values to query the database to get the desired page rows. Here's an example from the latest docs - uriyyo-fastapi-pagination.netlify.app/tutorials_advanced/custom-paginate/ Sorry for the delay. I hope this helps you.
@codexperience7951 Жыл бұрын
Bro what is your linter for python
@jr.developer Жыл бұрын
It's just the VS Code extension: Python by Microsoft. Also, make sure that you have autopep8 installed for it to work.