# Phương thức find() trong MongoDB

Để truy vấn dữ liệu từ Collection trong MongoDB, bạn cần sử dụng phương thức **find()**&#x74;rong MongoDB.

## Cú pháp <a href="#c-ph-p" id="c-ph-p"></a>

Cú pháp cơ bản của phương thức find() là như sau:

```
>db.COLLECTION_NAME.find()
```

Phương thức find() sẽ hiển thị tất cả Document ở dạng không có cấu trúc (hiển thị không theo cấu trúc nào).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://janeto.gitbook.io/mongodb-toan-tap/truy-van-document-trong-mongodb/phuong-thuc-find-trong-mongodb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
