What is Active Record(AR) in yii ?

Member

by sidney , in category: Technology , 4 years ago

What is Active Record(AR) in yii ?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by melvina , 4 years ago

Active Record provides an object-oriented interface for accessing and manipulating data stored in databases. An Active Record class is associated with a database table, an Active Record instance corresponds to a row of that table, and an attribute of an Active Record instance represents the value of a particular column in that row. Instead of writing raw SQL statements, you would access Active Record attributes and call Active Record methods to access and manipulate the data stored in database tables.


Read more from http://www.yiiframework.com/doc-2.0/guide-db-active-record.html

Related Threads:

How to delete a record in Codeigniter?
What are Yii helpers?
What are Components in Yii 2 ?
What is the benifits of Yii over other Frameworks ?
How to get current url in Yii?
Which PHP version is required to install Yii 2.0 ?