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