> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/programming/python/frameworks/fastapi/crud-operations.md).

# CRUD Operations

![](https://3885248957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoE4wMO1dMVDOGDjh0En7%2Fuploads%2FyzOVdHmNKKKaJQUX2nvv%2Fimage.png?alt=media\&token=4fd63227-3f18-485a-bebf-197032fffcac)

### Best practices

* Use plural: `posts` not `post`
* Updating `PUT` or `PATCH` is user preference
* `PUT` operations send all the data over again and patch it in the database
* `PATCH` operations send only the data that has to be adjusted and the backend should know how to do this
