classTargetSql
final class TargetSql
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Target sql operations for PostgreSQL copy.
Methods§
public function columnListSql(non-empty-list<string> $columns): stringParameters
$columns | non-empty-list<string> |
Returns
stringTest cases 1
Called from 2
- method-call ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::selectSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:50
- method-call ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::insertSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:78
Calls 3
- function-call
implodeline 21 - function-call
array_mapline 21 - method-call TargetSql::quoteIdentifier() line 21
public function relationSql(CopyTarget $target): stringRelation sql.
Parameters
$target | CopyTarget |
Returns
stringTest cases 1
Called from 2
- method-call ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::selectSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:51
- method-call ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::insertSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:77
Calls 3
- function-call
implodeline 29 - function-call
array_mapline 29 - method-call TargetSql::quoteIdentifier() line 29
public function quoteIdentifier(string $identifier): stringQuote identifier.
Parameters
$identifier | string |
Returns
stringTest cases 1
Called from 2
Calls 1
- function-call
str_replaceline 37
Test cases 5§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 2
PgSqlCopySupportTestcallsPgSqlSessionFactoryTestcalls
Relations§
Instantiated in 4
- new ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::selectSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:50
- new ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::selectSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:51
- new ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::insertSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:77
- new ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::insertSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:78
Method calls 4
- method-call ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::selectSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:50
- method-call ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::selectSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:51
- method-call ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::insertSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:77
- method-call ZtdQuery\Platform\Postgres\Connection\Copy\PgSqlCopySupport::insertSql() packages/ztd-query-postgres/src/Connection/Copy/PgSqlCopySupport.php:78