Your ROOT_URL in app.ini is https://code.exacti.com.br/ but you are visiting https://git.exacti.com.br/ExacTI/phacil-framework/src/commit/9feb3deb24e58915ed20409e52b1bbb8c09977db/system/MagiQL/Builder/Syntax/Adapt/SQLite3/InsertWriter.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework

37 lines
1.1 KiB

<?php
/**
* Copyright © 2024 ExacTI Technology Solutions. All rights reserved.
* GPLv3 General License.
* https://exacti.com.br
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
*/
namespace Phacil\Framework\MagiQL\Builder\Syntax\Adapt\SQLite3;
use Phacil\Framework\MagiQL\Builder\Syntax\InsertWriter as GenericWriter;
use Phacil\Framework\MagiQL\Api\BuilderInterface;
use Phacil\Framework\MagiQL\Builder\Syntax\PlaceholderWriter;
//use Phacil\Framework\MagiQL\Builder\Syntax\Adapt\SQLite3\ColumnWriter;
class InsertWriter extends GenericWriter
{
/**
* @param \Phacil\Framework\MagiQL\Api\BuilderInterface $writer
* @param PlaceholderWriter $placeholder
*/
public function __construct(BuilderInterface $writer, PlaceholderWriter $placeholder)
{
$this->writer = $writer;
//$this->columnWriter = new ColumnWriter($this->writer, $placeholder);
}
/**
* @param $columns
*
* @return string
*/
protected function writeQueryColumns($columns)
{
return $this->writeCommaSeparatedValues($columns, $this->writer, 'writeColumnName');
}
}