final class SqliteValueRenderer
    implements ValueRenderer

Encodes shadow values while preserving SQLite storage classes.

Methods§

public function __construct(private CastRenderer $castRenderer = new \ZtdQuery\Platform\Sqlite\Sql\Value\SqliteCastRenderer())

Binds the dependencies used by this operation.

Parameters

$castRendererCastRenderer
Calls 1
public function renderValue(mixed $value, ?ColumnDeclaration $type = null): string

Returns render value.

Parameters

$valuemixed
$type?ColumnDeclaration

Returns

string

Throws

RuntimeException
Test cases 12
Calls 19

Private surface 1§

Implementation details, listed for orientation only.

private CastRenderer $castRenderer = new \ZtdQuery\Platform\Sqlite\Sql\Value\SqliteCastRenderer()

Test cases 26§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 12
Other tests reaching this symbol 14

Relations§

Instantiated in 1