How to truncate table with query in codelgniter?
Answer / Vaibhav Shukla
"To truncate a table in CodeIgniter, you can use the DB class and execute the TRUNCATE command. Here's an example:
```php
$this->db->truncate('table_name');
```
Remember to replace 'table_name' with the name of your table."n
| Is This Answer Correct ? | 0 Yes | 0 No |
List the resources that can be autoloaded in codeigniter?
What is csrf attack in codeigniter?
What is codeigniter template?
How to do 301 redirects in codeigniter?
Explain application flow chart in codeigniter?
What is mvc codeigniter?
Explain the codeigniter library. How will you load it?
Explain how you can prevent codeigniter from csrf?
How do I find out the id of the row I just inserted?
Can I extend the core database class?
how to create application at codeigniter ?
How to check data is updated or not in codeigniter