mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-14 13:25:23 +08:00
789 B
789 B
Working with Databases
Note: This section is under development.
In this section, we will describe how to create a new page to display data fetched from a database table. To achieve this goal, you will create an action, a view, and an Active Record model that can be used to fetch and represent database data.
Through this tutorial, you will learn
- How to configure database connections;
- How to define an Active Record class;
- How to query data using the Active Record class;
- How to display data in a view in a paginated fashion.