Closed infernusec closed 3 years ago
You can use quotation syntax <table.column>
for the query, and Medoo will handle the prefix and quotation automatically.
You can use quotation syntax
<table.column>
for the query, and Medoo will handle the prefix and quotation automatically.
but its truncate.. so i need to do something like this?
$db -> query('TRUNCATE < sessions >');
im trying to get the prefix name from the object, but the object are protected, so i cannot do it. i need it to run custom query, i need something like that:
$db -> query('TRUNCATE '.$db -> prefix.'sessions'); any solution?