Example #1
0
 public function emptyAction()
 {
     $tableName = $this->params('table');
     $schemaName = $this->params('schema');
     $data = $this->tableTaskService->emptyTable($tableName, $schemaName);
     return new JsonModel(['data' => $data]);
 }