List some database related query functions in yii?
Answer / Bhoopendra Singh
Some common database-related query functions in YII include createCommand() for executing raw SQL queries, findAll() and findByPk() for retrieving records, save() and update() for saving or updating records, delete() for deleting records, and afterFind() and beforeSave() for performing actions before or after a record is saved.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you proceed when you have to use yii for any application?
What are the benefits of yii over other frameworks?
How to get current controller id in yii ?
What is active record(ar) in yii?
How do you continue when you have to use yii for any application?
How to include a view file in another view file yii?
What is helper in yii? Why it is used?
If you have to validate a registrations module for a user, what all can be possible ways, which one is the best?
What is the component, uses, how can we do and what is the better way?
What is the directory structure of yii2?
How to use ajax in yii?
What is the first file that gets loaded when you run a application using yii?