%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : www.kowitt.ac.th / Your IP : 216.73.216.118 Web Server : Microsoft-IIS/7.5 System : Windows NT SERVER02 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.6.31 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/phpMyAdmin/libraries/sql-parser/src/Components/ |
Upload File : |
<?php /** * `UNION` keyword builder. * * @package SqlParser * @subpackage Components */ namespace SqlParser\Components; use SqlParser\Component; use SqlParser\Statements\SelectStatement; /** * `UNION` keyword builder. * * @category Keywords * @package SqlParser * @subpackage Components * @author Dan Ungureanu <udan1107@gmail.com> * @license http://opensource.org/licenses/GPL-2.0 GNU Public License */ class UnionKeyword extends Component { /** * @param SelectStatement[] $component The component to be built. * @param array $options Parameters for building. * * @return string */ public static function build($component, array $options = array()) { $tmp = array(); foreach ($component as $component) { $tmp[] = $component[0] . ' ' . $component[1]; } return implode(' ', $tmp); } }