NewMasterCommand(); $cmd = $this->NewServantCommand(); if (!is_null($cmd)) { $return->biz_content = $cmd->select('play_nickname')->from('player')->withpage(1, 4)->limit(2)->request(); if (!$return->biz_content) $return->SetErrors($this->GetErrorCode(), $this->GetErrorInfo()); $tables = $cmd->GetConnection()->GetTables(); /** @var ITable $player */ $player = $tables->player; echo 'name: ', $player->getname(), '
', PHP_EOL; echo 'fields: ', '
', PHP_EOL; echo "  {$player->play_playerid->getname()}({$player->play_playerid->gettype()})
", PHP_EOL; echo "  {$player->play_nickname->getname()}({$player->play_nickname->gettype()})
", PHP_EOL; return true; } else { $return->biz_content = $this->pdo_request(/** @lang text */'select play_nickname from player limit 0, 4'); $return->seterrors($this->geterrorcode(), $this->geterrorinfo()); return $this->pdo_isdone(); } } }