classScalarExpression
final class ScalarExpression
Scalar Expression.
Methods§
public function renderExpression(mixed $value, ColumnDeclaration $type, bool $typed): stringRender Expression for the supplied MySQL input.
Parameters
$value | mixed | |
$type | ColumnDeclaration | |
$typed | bool |
Returns
stringCalled from 1
Calls 9
- class-const ColumnTypeFamily::BINARY() line 21
- function-call
bin2hexline 22 - method-call StringCoercion::stringValue() line 22
- new StringCoercion line 22
- function-call
is_intline 25 - function-call
is_floatline 29 - function-call
var_exportline 29 - function-call
str_containsline 30 - function-call
str_replaceline 31
public function inferType(mixed $value): ColumnDeclarationInfer Type for the supplied MySQL input.
Parameters
$value | mixed |
Returns
Test cases 1
Called from 1
Calls 4
- function-call
is_intline 43 - new ColumnDeclaration line 44
- class-const ColumnTypeFamily::INTEGER() line 44
- class-const ColumnTypeFamily::STRING() line 47
Test cases 17§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 15
MySqlSessionFactoryTestcallsMySqlLoadDataProjectorTestcallsRowProjectorTestcallsMySqlRewriterTestcallsStatementRewriterTestcallsDeleteTransformerTestcallsInsertTransformerTestcallsMySqlTransformerTestcallsReplaceTransformerTestcallsSelectTransformerTestcallsCteRowsTestcallsUpdateTransformerTestcallsRowMutationResolverTestcallsMySqlMutationResolverTestcallsMySqlValueRendererTestcalls