How to remove all rows from a table using codeigniter. Just the line that I know, just specify the identifier from that line, but what about all the lines at once? Thanks
$this->db->empty_table('my_table');
Put it in your model and donβt point it anywhere before.
Source: https://habr.com/ru/post/1261470/More articles:Encoding issues when requesting offers from Google - objective-cExecution failed for task ': app: processDebugResources'. failed to execute aapt - androidWhy is an equivalent range representation required for updating? - c ++Configuring VueJS in Laravel - laravelNode.js + Nativefier app will not upload file - javascriptIf there will be only one instance of the object, should I use a constructor? - javascriptMongoose with ReplicaSet on Atlas - node.jsWebpack dev server does not automatically restart - javascriptProgrammatically defining a class: type vs types.new_class - pythonHow to serialize Go map to protobuff - goAll Articles