no message
This commit is contained in:
parent
e7f51134d9
commit
114e914d88
@ -32,4 +32,13 @@ class Db extends Base {
|
|||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function showCreateTable($aParam)
|
||||||
|
{
|
||||||
|
$sValue = $aParam["aArg"][1] ?? false;
|
||||||
|
|
||||||
|
$columns = \DB::select("SHOW CREATE TABLE `{$sValue}`");
|
||||||
|
|
||||||
|
return $this->toJson($columns[0]->{"Create Table"});
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user