function GetTablesInfo() { $queryEngine = new QueryEngine(); $sid = $_POST["sid"]; $result = $queryEngine->GetTablesInfo($sid); echo json_encode($result); }
private function getColumnsBySid($sid, $tableName = null) { $queryEngine = new QueryEngine(); $result = $queryEngine->GetTablesInfo($sid); return $result[$tableName]; }