public function DataHandler::truncate in Data 7
Same name and namespace in other branches
- 8 includes/DataHandler.inc \DataHandler::truncate()
- 6 includes/DataHandler.inc \DataHandler::truncate()
Empty data table.
File
- includes/
DataHandler.inc, line 170 - Definition of DataHandler class.
Class
- DataHandler
- Simple access methods to table data. Can be used on any table, not just Data managed tables.
Code
public function truncate() {
db_truncate($this->table)
->execute();
}