enumKeyValueSpelling
enum KeyValueSpelling: string
Public API: explicitly declared with
@visibility public.How a JSON key is joined to its value: key VALUE value or key : value.
Both build the same JsonPair node; the key of the VALUE spelling is a primary expression. Source: https://www.postgresql.org/docs/17/functions-json.html#FUNCTIONS-JSON-CREATION-TABLE.
\SqlSemantics\Platform\PostgreSql\Statement\Invocation\Json\KeyValueSpelling::Colon->value // => ':'Cases§
case Value = 'VALUE'case Colon = ':'Test cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 3
Relations§
Constant reads 5
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\JsonRule::keyValue() packages/sql-semantics-postgres/src/Lowering/Invocation/JsonRule.php:232
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\JsonRule::keyValue() packages/sql-semantics-postgres/src/Lowering/Invocation/JsonRule.php:233
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\Json\JsonPair::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/Json/JsonPair.php:37
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\Json\JsonPair::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/Json/JsonPair.php:39
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\Json\JsonPair::render() packages/sql-semantics-postgres/src/Statement/Invocation/Json/JsonPair.php:57