> For the complete documentation index, see [llms.txt](https://myroslavs-organization.gitbook.io/orm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://myroslavs-organization.gitbook.io/orm/basics-of-usage.md).

# Basics of Usage

Next, you will learn the basics of using my ORM

* **Connecting to the Database:** To get started with the ORM, you need to configure the connection to the database using the appropriate parameters, such as the database type, host, port, user, password, and a list of models.
* **Creating a Model:** Models in the ORM represent the structure of tables in the database, and creating a model involves defining fields using decorators. After that, the model is added to the database configuration for use in the ORM.
* **Simple Queries:** The ORM allows you to execute queries to the database using a convenient interface. Examples provided demonstrate selecting all users, active users, or users with a specific `user_id`.
