Am I wrong to write like this?
Am I wrong to write like this?
<code>$sql = 'TRUNCATE table conf_user';</code>
Correct answer, tested!
Two methods, give it a try
TRUNCAT watch
DELETE FROM table WHERE 1
<code>$sql = 'truncate table XXX'; M()->execute($sql);</code>