Добавлен цикл проверки сайтов
This commit is contained in:
37
vendor/nilportugues/sql-query-builder/src/Manipulation/Insert.php
vendored
Normal file
37
vendor/nilportugues/sql-query-builder/src/Manipulation/Insert.php
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Author: Nil Portugués Calderó <contact@nilportugues.com>
|
||||
* Date: 6/3/14
|
||||
* Time: 12:07 AM.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace NilPortugues\Sql\QueryBuilder\Manipulation;
|
||||
|
||||
use NilPortugues\Sql\QueryBuilder\Syntax\SyntaxFactory;
|
||||
|
||||
/**
|
||||
* Class Insert.
|
||||
*/
|
||||
class Insert extends AbstractCreationalQuery
|
||||
{
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function partName()
|
||||
{
|
||||
return 'INSERT';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getColumns()
|
||||
{
|
||||
$columns = \array_keys($this->values);
|
||||
|
||||
return SyntaxFactory::createColumns($columns, $this->getTable());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user