> For the complete documentation index, see [llms.txt](https://olee-tech.gitbook.io/django/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://olee-tech.gitbook.io/django/django-orm/basic-database-operation/get.md).

# - get():

get(): If you expect a single result, you can use the .get() method to retrieve it. Be cautious; it raises an exception if there’s no matching record or multiple records.

```python
from .models import BlogPost
post = BlogPost.objects.get(title="A Specific Post")
```
